Click or drag to resize

PdfTextPageSearch Method

Begins the text search process.

Namespace:  Atalasoft.Pdf.TextExtract
Assembly:  Atalasoft.dotImage.PdfReader (in Atalasoft.dotImage.PdfReader.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public PdfSearchResults Search(
	int index,
	string text,
	bool matchCase,
	bool wholeWord
)

Parameters

index
Type: SystemInt32

Zero-based index of the character in terms of this page.

-1 starts the search at the end of the page.

text
Type: SystemString
The text to search for.
matchCase
Type: SystemBoolean
A flag to specify if search should match case.
wholeWord
Type: SystemBoolean
A flag to specify if search should match whole words only.

Return Value

Type: PdfSearchResults
A PdfSearchResults object which represents the results of the search.
See Also