DocumentToScreen Method of the TextEditor 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, _
  ScreenX As Integer, _
  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

TextEditor

ScreenToDocument

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.