Skip to main content
This method scrolls zoom 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

ZoomViewer