Winnovative PDF to Text Documentation

PdfToTextConverter.FindText Method (Stream, String, Int32, Int32, Boolean, Boolean)

Winnovative PDF to Text
Searches for a given text in a range of pages of a PDF document in a stream

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,
	int endPageNumber,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfStream
Type: System.IO.Stream
The stream containing the PDF document
textToFind
Type: System.String
The text to find
startPageNumber
Type: System.Int32
The start page number
endPageNumber
Type: System.Int32
The end page number
caseSensitive
Type: System.Boolean
A flag indicating if the search should match case
wholeWord
Type: System.Boolean
A flag indicating if the search should match whole words

Return Value

Type:FindTextLocation[]
The records containing the location of the searched text in PDF document pages
See Also

Reference