Click or drag to resize

PdfToTextConverterExtractTextPositions(String, String, Boolean, Boolean) Method

Searches for a text into a PDF file.

Namespace: ExpertPdf
Assembly: eppdftotext (in eppdftotext.dll) Version: 9.0
Syntax
public TextPosition[] ExtractTextPositions(
	string pdfFilePath,
	string textToSearch,
	bool caseSensitive,
	bool wholeWord
)

Parameters

pdfFilePath  String
The path of the file containing the PDF document.
textToSearch  String
Text that is being search for in the PDF document.
caseSensitive  Boolean
Specifies if the search is case sensitive.
wholeWord  Boolean
Specifies if the search looks for whole words only or not.

Return Value

TextPosition
An array with all text positions that match the search conditions.
See Also