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

Searches for the specified text in pages of a PDF document starting at a given page number through the end of the document

Definition

Namespace: Winnovative.Pdf.Next
Assembly: Winnovative.Pdf.Next.PdfProcessor (in Winnovative.Pdf.Next.PdfProcessor.dll) Version: 20.0.0
C#
public FindTextLocation[] FindText(
	byte[] pdfData,
	string textToFind,
	int startPageNumber,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfData  Byte
Memory buffer containing the PDF document
textToFind  String
Text to find
startPageNumber  Int32
Start page number
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