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
17.09.2024 15:14:40