> ## 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.

# Point オブジェクトの SetPoint メソッド

> ABBYY FineReader Engine API の Point オブジェクトの SetPoint メソッド — 点の X 座標と Y 座標を設定します。

このメソッドでは、点の座標を設定できます。

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

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

```cpp theme={null}
HRESULT SetPoint(
  int X,
  int Y
);
```

### C\#

```csharp theme={null}
void SetPoint(
  int X,
  int Y
);
```

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

```vb theme={null}
Sub SetPoint(X As Integer, Y As Integer)
```

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

X

\[in] 点の水平方向の座標をピクセル単位で格納します。座標はドキュメント画像を基準とします。

Y

\[in] 点の垂直方向の座標をピクセル単位で格納します。座標はドキュメント画像を基準とします。

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

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

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

[Point](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/point)
