Zum Hauptinhalt springen

Documentation Index

Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt

Use this file to discover all available pages before exploring further.

Diese Methode gibt die Cursorpositionen für den Anfang und das Ende der Auswahl zurück. Wenn keine Auswahl definiert ist, sind alle Eigenschaften der ausgegebenen EditorPosition-Objekte gleich -1.

Syntax

C++

HRESULT GetSelection(
  IEditorPosition** From,
  IEditorPosition** To
);

C#

HRESULT GetSelection(
  out IEditorPosition From,
  out IEditorPosition To
);

Visual Basic .NET

Sub GetSelection( _
  ByRef From As IEditorPosition, _
  ByRef To As IEditorPosition _
)

Parameter

From [out] Enthält die Cursorposition zu Beginn der Auswahl als EditorPosition-Objekt. To [out] Enthält die Cursorposition am Ende der Auswahl als EditorPosition-Objekt.

Rückgabewerte

Diese Methode hat keine spezifischen Rückgabewerte. Sie gibt die standardmäßigen Rückgabewerte von ABBYY FineReader Engine-Funktionen zurück.

Siehe auch

TextEditor SetSelection