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

# PDFPicture オブジェクトの GetLocation メソッド

> ABBYY FineReader Engine API の PDFPicture オブジェクトの GetLocation メソッド — ドキュメントのページ内で指定したインデックスにある画像の位置を返します。

このメソッドは、ドキュメントのページ内で指定したインデックスにある画像の位置を返します。

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

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

```cpp theme={null}
HRESULT GetLocation(
   int       PageIndex,
   IPoint**  Result
);
```

### C\#

```csharp theme={null}
IPoint GetLocation( int PageIndex );
```

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

```vb theme={null}
Function GetLocation(PageIndex As Integer) As IPoint
```

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

PageIndex

\[in] 画像の位置を設定する対象となる元のページのインデックスを指定します。

Result

\[out, retval] 出力 [Point](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/point) オブジェクトのインターフェイス ポインターを受け取る IPoint\* ポインター変数へのポインターです。ページ上に画像がない場合、このメソッドは X と Y の値が -1 の有効な IPoint オブジェクトを返します。

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

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

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

[PDFPicture](/ja/fine-reader/engine/api-reference/parameter-objects/export-parameters/pdfpicture)
