PdfToTextConverterFindText(String, String, Int32, Int32, Boolean, Boolean) Method

Searches for a given text in a range of pages of a PDF file

Definition

Namespace: EvoPdfClient
Assembly: EvoPdfClient (in EvoPdfClient.dll) Version: 11.0.0.0 (11.0.0.0)
C#
public FindTextLocation[] FindText(
	string pdfFile,
	string textToFind,
	int startPageNumber,
	int endPageNumber,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfFile  String
The full path of the PDF file to search
textToFind  String
The text to find
startPageNumber  Int32
The start page number
endPageNumber  Int32
The end page number
caseSensitive  Boolean
A flag indicating if the search should match case
wholeWord  Boolean
A flag indicating if the search should match whole words

Return Value

FindTextLocation
The records containing the location of the searched text in PDF document pages

See Also