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

> Windows 上の ABBYY FineReader Engine Visual Components における ZoomViewer オブジェクトの 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>

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

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