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
)
Public Function FindTextAsync (
str As String,
match_case As Boolean,
match_whole_word As Boolean,
search_up As Boolean,
reg_exp As Boolean
) As IAsyncOperation(Of PDFViewCtrlSelection)
public:
virtual IAsyncOperation<PDFViewCtrlSelection^>^ FindTextAsync(
[InAttribute] String^ str,
[InAttribute] bool match_case,
[InAttribute] bool match_whole_word,
[InAttribute] bool search_up,
[InAttribute] bool reg_exp
) sealed
function FindTextAsync(str, match_case, match_whole_word, search_up, 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:
IAsyncOperationPDFViewCtrlSelectionWhen this method completes, it returns the new text selection as a PDFViewCtrlSelection
See Also