Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / FindAndDecorate Method / FindAndDecorate(String,String,String,String) Method
Text to find and decorate.
Tags, comma delimited, to decorate each text instance.
CSS style value to decorate each text instance.
A css class name to use for the selected tag.

In This Topic
    FindAndDecorate(String,String,String,String) Method
    In This Topic
    Finds and decorates all occurrences of a text string in the document.
    Syntax
    'Declaration
     
    Public Overloads Sub FindAndDecorate( _
       ByVal text As System.String, _
       Optional ByVal tags As System.String, _
       Optional ByVal styles As System.String, _
       Optional ByVal className As System.String _
    ) 
    public void FindAndDecorate( 
       System.string text,
       System.string tags,
       System.string styles,
       System.string className
    )

    Parameters

    text
    Text to find and decorate.
    tags
    Tags, comma delimited, to decorate each text instance.
    styles
    CSS style value to decorate each text instance.
    className
    A css class name to use for the selected tag.
    See Also