Click or drag to resize
Pdf Library for .NET

PdfToTextSearch Method (String)

Search for a specific text in a PDF document. The search is case insensitive and returns partial words also.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 20.2
Syntax
public TextPosition[] Search(
	string textToSearch
)

Parameters

textToSearch
Type: SystemString
Text to search.

Return Value

Type: TextPosition
Array with text positions in the current PDF document.
Remarks
Pages that participate to this operation are specified by StartPageNumber and EndPageNumber properties.
See Also