PdfToTextConverterFindText(Stream, String, Boolean, Boolean) Method

Searches for the specified text in all pages of a PDF document in a stream

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next.PdfProcessor (in HiQPdf.Next.PdfProcessor.dll) Version: 1.0.0
C#
public FindTextLocation[] FindText(
	Stream pdfStream,
	string textToFind,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfStream  Stream
Stream containing the PDF document
textToFind  String
Text to find
caseSensitive  Boolean
Flag indicating whether the search should match case
wholeWord  Boolean
Flag indicating whether the search should match whole words

Return Value

FindTextLocation
Records containing the locations of the searched text in PDF pages

See Also