Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / FindTextParams Class / CreatRegex Method
The Regex pattern to search.
Indicates whether to match case.
The horizontal resolution used to calculate bounds of the found text on the page.
The vertical resolution used to calculate bounds of the found text on the page.
Indicates whether to ignore errors in PDF content stream if possible.

In This Topic
    CreatRegex Method
    In This Topic
    Creates a new FindTextParams object with the Regex property set to true.
    Syntax
    'Declaration
     
    Public Shared Function CreatRegex( _
       ByVal pattern As System.String, _
       Optional ByVal matchCase As System.Boolean, _
       Optional ByVal dpiX As System.Single, _
       Optional ByVal dpiY As System.Single, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) As FindTextParams
    public static FindTextParams CreatRegex( 
       System.string pattern,
       System.bool matchCase,
       System.float dpiX,
       System.float dpiY,
       System.bool ignoreErrors
    )

    Parameters

    pattern
    The Regex pattern to search.
    matchCase
    Indicates whether to match case.
    dpiX
    The horizontal resolution used to calculate bounds of the found text on the page.
    dpiY
    The vertical resolution used to calculate bounds of the found text on the page.
    ignoreErrors
    Indicates whether to ignore errors in PDF content stream if possible.
    See Also