メインコンテンツへスキップ
このメソッドは、指定したポイントの画面座標をドキュメント画像上の座標に変換します。

構文

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] 画面座標系における点のX座標を指定します。 ScreenY [in] 画面座標系における点のY座標を指定します。 DocumentX [out] ドキュメント画像上の点のX座標を受け取ります。 DocumentY [out] ドキュメント画像上の点のY座標を受け取ります。

戻り値

このメソッドに固有の戻り値はありません。ABBYY FineReader Engine 関数の標準戻り値を返します。

関連項目

TextEditor DocumentToScreen