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

TextEditor

17.09.2024 15:14:40

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.