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
9/17/2024 3:14:41 PM