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

# TextValidator オブジェクトの SpellBlock メソッド

> Windows 上の ABBYY FineReader Engine Visual Components における TextValidator オブジェクトの SpellBlock メソッド — このメソッドは、指定したブロックに対してスペルチェックを開始します。

このメソッドは、指定したブロックに対してスペルチェックを開始します。

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

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

```cpp theme={null}
HRESULT SpellBlock(
  int PageIndex,
  int BlockIndex
);
```

### C\#

```csharp theme={null}
void SpellBlock(
  int PageIndex,
  int BlockIndex
);
```

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

```vb theme={null}
Sub SpellBlock( _
  PageIndex As Integer, _
  BlockIndex As Integer _
)
```

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

PageIndex

\[in] ブロックが存在するページのインデックスです。

BlockIndex

\[in] スペルチェックが必要なブロックのインデックスです。このインデックスは [ILayout::VisualBlocks](/ja/fine-reader/engine/api-reference/layout-related-objects/layout#visualblocks) コレクション内での値です。

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

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

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

[TextValidator](/ja/fine-reader/engine/visual-components-reference/textvalidator)

[Spell](/ja/fine-reader/engine/visual-components-reference/textvalidator/spell-method)
