跳轉到主要內容
此方法會將指定點的螢幕座標轉換為文件影像中的座標。

語法

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