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

# TextEditor オブジェクトの UpdateOptions メソッド

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

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

<Note>
  オプション ダイアログは、Image Viewer、Zoom Viewer、Text Editor、または Document Viewer で [MI\_Options](/ja/fine-reader/engine/visual-components-reference/enumerations/menuitemenum#mi_options) コマンドを呼び出した場合、Document Viewer の「名前を付けて保存」ダイアログで 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>

[TextEditor](/ja/fine-reader/engine/visual-components-reference/texteditor)
