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