Click or drag to resize

PDFViewCtrlFindTextAsync Method (String, Boolean, Boolean, Boolean, Boolean)

Selects text by searching for a given string of text. Note that to cancel the text search, use PDFViewCtrl.CancelFindText, as opposed to canceling the operation that is returned.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public IAsyncOperation<PDFViewCtrlSelection> FindTextAsync(
	string str,
	bool match_case,
	bool match_whole_word,
	bool search_up,
	bool reg_exp
)

Parameters

str
Type: SystemString
string to search
match_case
Type: SystemBoolean
whether to match case
match_whole_word
Type: SystemBoolean
whether to match the whole word
search_up
Type: SystemBoolean
whether to search up
reg_exp
Type: SystemBoolean
use regular expressions

Return Value

Type: IAsyncOperationPDFViewCtrlSelection
When this method completes, it returns the new text selection as a PDFViewCtrlSelection
See Also