Editor for WinForms | ComponentOne
C1.Win.Editor.8 Assembly / C1.Win.Editor Namespace / C1Editor Class / FindAndDecorate Method / FindAndDecorate(Regex,String,String,String) Method
Regular expression to match 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(Regex,String,String,String) Method
    In This Topic
    Finds and decorates all the matches in the document.
    Syntax
    'Declaration
     
    Public Overloads Sub FindAndDecorate( _
       ByVal regex As System.Text.RegularExpressions.Regex, _
       Optional ByVal tags As System.String, _
       Optional ByVal styles As System.String, _
       Optional ByVal className As System.String _
    ) 
    public void FindAndDecorate( 
       System.Text.RegularExpressions.Regex regex,
       System.string tags,
       System.string styles,
       System.string className
    )

    Parameters

    regex
    Regular expression to match 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