ActivateOn Method of the TextEditor Object

This method activates a position in the specified block and moves it into view. The position must be in a word in the block. Otherwise, the position is not changed.

Syntax

C++

HRESULT ActivateOn(
  int BlockIndex,
  int X,
  int Y
);
    

C#

void ActivateOn(
  int BlockIndex,
  int X,
  int Y
);
    

Visual Basic .NET

Sub ActivateOn( _
  BlockIndex As Integer, _
  X As Integer, _
  Y As Integer _
)
    

Parameters

BlockIndex
[in] Contains the index of the block to be activated. The index is in the ILayout::VisualBlocks collection.
X
[in] Contains the horizontal coordinate of a point in the block in pixels. The coordinates are relative to the document image.
Y
[in] Contains the vertical coordinate of a point in the block in pixels. The coordinates are relative to the document image.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

TextEditor

24.03.2023 8:51:52

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.