> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ZoomViewer オブジェクトの DocumentToScreen メソッド

> Windows 上の ABBYY FineReader Engine Visual Components における ZoomViewer オブジェクトの DocumentToScreen メソッド — このメソッドは、ドキュメント画像上の指定した点の座標を画面座標に変換します。

このメソッドは、ドキュメント画像上の指定した点の座標を画面座標に変換します。

<div id="syntax">
  ## 構文
</div>

<div id="c">
  ### C++
</div>

```cpp theme={null}
HRESULT DocumentToScreen(
  int  DocumentX,
  int  DocumentY,
  int* ScreenX,
  int* ScreenY
);
```

### C\#

```csharp theme={null}
void DocumentToScreen(
  int     DocumentX,
  int     DocumentY,
  out int ScreenX,
  out int ScreenY
);
```

<div id="visual-basic-net">
  ### Visual Basic .NET
</div>

```vb theme={null}
Sub DocumentToScreen( _
  DocumentX As Integer, _
  DocumentY As Integer, _
  ByRef ScreenX As Integer, _
  ByRef ScreenY As Integer _
)
```

<div id="parameters">
  ## パラメーター
</div>

DocumentX

\[in] ドキュメント画像上の点の水平方向の座標を指定します。

DocumentY

\[in] ドキュメント画像上の点の垂直方向の座標を指定します。

ScreenX

\[out] 画面座標での点の水平方向の座標を受け取ります。

ScreenY

\[out] 画面座標での点の垂直方向の座標を受け取ります。

<div id="return-values">
  ## 戻り値
</div>

このメソッドに固有の戻り値はありません。代わりに、[ABBYY FineReader Engine 関数の標準的な戻り値](/ja/fine-reader/engine/api-reference/return-codes)が返されます。

<div id="see-also">
  ## 関連項目
</div>

[ZoomViewer](/ja/fine-reader/engine/visual-components-reference/zoomviewer)

[ScreenToDocument](/ja/fine-reader/engine/visual-components-reference/zoomviewer/screentodocument-method)
