CenterOnDocumentPoint Method of the ImageViewer Object

This method scrolls image 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

ImageViewer

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.