Click or drag to resize

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

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,
	int start_page
)

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
start_page
Type: SystemInt32
The page on which to start search. By default, search will start from the current page and current selection.

Return Value

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