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

语法

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 _
)

参数

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

返回值

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

另请参见

ImageViewer DocumentToScreen