Searches for a given text in all the pages of a PDF file
Namespace: Winnovative.PdfToText
Assembly: WnvPdfToText (in WnvPdfToText.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
public FindTextLocation[] FindText( string pdfFile, string textToFind, bool caseSensitive, bool wholeWord )
Parameters
- pdfFile
- Type: SystemString
The full path of the PDF file to search - textToFind
- Type: SystemString
The text to find - caseSensitive
- Type: SystemBoolean
A flag indicating if the search should match case - wholeWord
- Type: SystemBoolean
A flag indicating if the search should match whole words
Return Value
Type: FindTextLocationThe records containing the location of the searched text in PDF document pages
See Also