Chinese Simplified (简体中文)

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

TextEditor

GetSelection

17.09.2024 15:14:41

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.