跳转到主要内容
此方法可将指定点的屏幕坐标转换为文档图像坐标。

语法

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, _
  ByRef DocumentX As Integer, _
  ByRef DocumentY As Integer _
)

参数

ScreenX [in] 指定该点在屏幕坐标系中的水平坐标。 ScreenY [in] 指定该点在屏幕坐标系中的垂直坐标。 DocumentX [out] 接收该点在文档图像中的水平坐标。 DocumentY [out] 接收该点在文档图像中的垂直坐标。

返回值

此方法没有特定的返回值。它返回 ABBYY FineReader Engine 函数的标准返回值

另请参阅

ZoomViewer DocumentToScreen