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

# ImageViewer オブジェクトの GetSelectedBlocksIndices メソッド

> Windows 上の ABBYY FineReader Engine Visual Components における ImageViewer オブジェクトの GetSelectedBlocksIndices メソッド — このメソッドは、選択したブロックのインデックスのコレクションを返します。

このメソッドは、選択したブロックのインデックスのコレクションを返します。

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

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

```cpp theme={null}
HRESULT GetSelectedBlocksIndices( IIntsCollection** indices );
```

### C\#

```csharp theme={null}
IIntsCollection GetSelectedBlocksIndices();
```

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

```vb theme={null}
Function GetSelectedBlocksIndices() As IIntsCollection
```

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

indices

\[out, retval] 選択したブロックのインデックスを含む [IntsCollection](/ja/fine-reader/engine/api-reference/supplementary-objects-and-methods/intscollection) オブジェクトへのアクセスを提供します。

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

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

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

[ImageViewer](/ja/fine-reader/engine/visual-components-reference/imageviewer)

[SetSelectedBlocksIndices](/ja/fine-reader/engine/visual-components-reference/imageviewer/setselectedblocksindices-method)
