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

> Windows 上の ABBYY FineReader Engine Visual Components における TextValidator オブジェクトの UpdateOptions メソッド — このメソッドは、Text Validator のオプション ダイアログで指定された設定を更新します。

このメソッドは、Text Validator のオプション ダイアログで指定された設定を更新します。ほかの Visual Component でオプションが変更された場合、Text Validator のオプションを現在の状態に反映させるために、このメソッドを呼び出す必要が生じることがあります。

<Note>
  オプション ダイアログは、Image Viewer、Zoom Viewer、Text Editor、または Document Viewer で [MI\_Options](/ja/fine-reader/engine/visual-components-reference/enumerations/menuitemenum#mi_options) コマンドを呼び出した場合、Document Viewer の Save As ダイアログで Options ボタンをクリックした場合、または Text Validator で Settings > Options をクリックした場合に表示されます。
</Note>

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

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

```cpp theme={null}
HRESULT UpdateOptions();
```

### C\#

```csharp theme={null}
void UpdateOptions();
```

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

```vb theme={null}
Sub UpdateOptions()
```

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