PdfToTextConverterFindText(String, String, Boolean, Boolean) Method

Searches for the specified text in all pages of a PDF file

Definition

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

Parameters

pdfFile  String
Full path of the PDF file to search
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