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

> Windows 上の ABBYY FineReader Engine Visual Components における ZoomViewer オブジェクトの SetSelectedBlocksIndices メソッド — このメソッドでは、選択するブロックを設定できます。

このメソッドでは、選択するブロックを設定できます。

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

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

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

### C\#

```csharp theme={null}
void SetSelectedBlocksIndices( IIntsCollection indices );
```

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

```vb theme={null}
Sub SetSelectedBlocksIndices(indices As IntsCollection)
```

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

indices

\[in] 選択するブロックのインデックスのセットを含む [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)

[GetSelectedBlocksIndices](/ja/fine-reader/engine/visual-components-reference/zoomviewer/getselectedblocksindices-method)
