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

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

Definition

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

Parameters

pdfData  Byte
The memory buffer containing the PDF document
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