CenterOnDocumentPoint Method of the TextEditor Object
This method scrolls text view so that the specified point is positioned at the center of the view.
Syntax
C++
HRESULT CenterOnDocumentPoint( int X, int Y );
C#
void CenterOnDocumentPoint( int X, int Y );
Visual Basic .NET
Sub CenterOnDocumentPoint(X As Integer, Y As Integer)
Parameters
- X
- [in] Specifies the horizontal coordinate of the point in pixels. The coordinates are relative to the document image.
- Y
- [in] Specifies the vertical coordinate of the point 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
17.09.2024 15:14:40