SetSelection Method of the TextEditor Object
This method allows you to set text selection on a page.
Syntax
C++
HRESULT SetSelection( IEditorPosition* From, IEditorPosition* To );
C#
void SetSelection(
IEditorPosition From,
IEditorPosition To
);
Visual Basic .NET
Sub SetSelection( _ From As IEditorPosition, _ To As IEditorPosition _ )
Parameters
- From
- [in] Refers to the EditorPosition object that contains the cursor position of the beginning of the selection.
- To
- [in] Refers to the EditorPosition object that contains the cursor position of the end of the selection. The end of the selection must be on the same page on which the beginning is.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
See also
17.09.2024 15:14:41