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

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

Definition

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

Parameters

pdfStream  Stream
The stream 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