Searches for a given text in PDF pages of a PDF document in a stream starting from a given PDF page number to the end of the PDF document
Namespace: Winnovative.PdfToText
Assembly: WnvPdfToText (in WnvPdfToText.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
public FindTextLocation[] FindText( Stream pdfStream, string textToFind, int startPageNumber, bool caseSensitive, bool wholeWord )
Parameters
- pdfStream
- Type: System.IOStream
The stream containing the PDF document - textToFind
- Type: SystemString
The text to find - startPageNumber
- Type: SystemInt32
The start page number - 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