Click or drag to resize

PdfToTextClientsearchUrlAsync Method (String, String, Boolean, Boolean)

Search for a specific text in a PDF document with an asynchronous call.

Namespace:  SelectPdf.Api
Assembly:  SelectPdf.Api (in SelectPdf.Api.dll) Version: 1.4.0
Syntax
public IList<TextPosition> searchUrlAsync(
	string url,
	string textToSearch,
	bool caseSensitive,
	bool wholeWordsOnly
)

Parameters

url
Type: SystemString
Address of the PDF file.
textToSearch
Type: SystemString
Text to search.
caseSensitive
Type: SystemBoolean
If the search is case sensitive or not.
wholeWordsOnly
Type: SystemBoolean
If the search works on whole words or not.

Return Value

Type: IListTextPosition
List with text positions in the current PDF document.
Remarks
Pages that participate to this operation are specified by setStartPage(Int32) and setEndPage(Int32) methods.
See Also