Chinese Simplified (简体中文)

ScreenToDocument Method of the ImageViewer Object

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

Syntax

C++

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

C#

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

Visual Basic .NET

Sub ScreenToDocument(
  ScreenX As Integer, _
  ScreenY As Integer, _
  DocumentX As Integer, _
  DocumentY As Integer _
)
    

Parameters

ScreenX
[in] Specifies the horizontal coordinate of the point in screen coordinates.
ScreenY
[in] Specifies the vertical coordinate of the point in screen coordinates.
DocumentX
[out] Receives the horizontal coordinate of the point on the document image.
DocumentY
[out] Receives the vertical coordinate of the point on 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

DocumentToScreen

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.