[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.FindTextParams.-ctor

FindTextParams Constructor

FindTextParams(string, bool, bool, ViewState, float, float, bool, bool)

Initializes a new instance of the FindTextParams class.

Declaration
public FindTextParams(string text, bool wholeWord, bool matchCase, ViewState viewState, float dpiX = 72, float dpiY = 72, bool ignoreErrors = true, bool regex = false)
Parameters
Type Name Description
string text

The text to find.

bool wholeWord

Indicates whether to match whole words only.

bool matchCase

Indicates whether to match case.

ViewState viewState

The ViewState object.

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.

bool regex

Indicates whether to interpret text as a regular expression.

FindTextParams(string, bool, bool, float, float, bool, bool)

Initializes a new instance of the FindTextParams class.

Declaration
public FindTextParams(string text, bool wholeWord, bool matchCase, float dpiX = 72, float dpiY = 72, bool ignoreErrors = true, bool regex = false)
Parameters
Type Name Description
string text

The text to find.

bool wholeWord

Indicates whether to match whole words only.

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.

bool regex

Indicates whether to interpret text as a regular expression.