[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.FindTextParams.CreatRegex

CreatRegex Method

CreatRegex(string, bool, float, float, bool)

Creates a new FindTextParams object with the Regex property set to true.

Declaration
public static FindTextParams CreatRegex(string pattern, bool matchCase = false, float dpiX = 72, float dpiY = 72, bool ignoreErrors = true)
Public Shared Function CreatRegex(pattern As String, Optional matchCase As Boolean = False, Optional dpiX As Single = 72, Optional dpiY As Single = 72, Optional ignoreErrors As Boolean = True) As FindTextParams
Parameters
Type Name Description
string pattern

The Regex pattern to search.

bool matchCase

Indicates whether to match case.

float dpiX

The horizontal resolution used to calculate bounds of the found text on the page.

float dpiY

The vertical resolution used to calculate bounds of the found text on the page.

bool ignoreErrors

Indicates whether to ignore errors in PDF content stream if possible.

Returns
Type Description
FindTextParams