> ## 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 オブジェクトの SetLocation メソッド

> ABBYY FineReader Engine API の PDFPicture オブジェクトの SetLocation メソッド — 文書ページ上の位置を設定します。

このメソッドは、文書ページ上の位置を設定します。

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

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

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

### C\#

```csharp theme={null}
void SetLocation(
  IPoint      Offset,
  int         PageIndex
);
```

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

```vb theme={null}
Sub SetLocation( _
  Offset As IPoint,
  PageIndex As Integer _
)
```

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

Offset

\[in] 画像上の点の位置を記述する [Point](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/point) オブジェクトを指定します。

PageIndex

\[in] ピクチャの位置を設定する元のページのインデックスを指定します。デフォルトでは、このパラメータは -1 に設定されており、ピクチャの位置がすべての文書ページに設定されることを意味します。特定のページのピクチャ位置を指定する必要がある場合は、希望するページのインデックスをリスト形式で指定してください。例: (1, 3, 6, 7)。

<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)
