Chinese Simplified (简体中文)

DocumentToScreen Method of the ZoomViewer Object

This method converts coordinates of the specified point on the document image into screen coordinates.

Syntax

C++

HRESULT DocumentToScreen(
  int  DocumentX,
  int  DocumentY,
  int* ScreenX,
  int* ScreenY
);
    

C#

void DocumentToScreen(
  int     DocumentX,
  int     DocumentY,
  out int ScreenX,
  out int ScreenY
);
    

Visual Basic .NET

Sub DocumentToScreen( _
  DocumentX As Integer, _
  DocumentY As Integer, _
  ByRef ScreenX As Integer, _
  ByRef ScreenY As Integer _
)
    

Parameters

DocumentX
[in] Specifies the horizontal coordinate of the point on the document image.
DocumentY
[in] Specifies the vertical coordinate of the point on the document image.
ScreenX
[out] Receives the horizontal coordinate of the point in screen coordinates.
ScreenY
[out] Receives the vertical coordinate of the point in screen coordinates.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

ZoomViewer

ScreenToDocument

17.09.2024 15:14:41

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.