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

# UpdateOptions Method of the ImageViewer Object

> UpdateOptions method of the ImageViewer Object in ABBYY FineReader Engine Visual Components on Windows — This method updates the settings specified in the Options dialog box of Image Viewer.

This method updates the settings specified in the Options dialog box of Image Viewer. You may need to call this method, if the options have been changed in some other Visual Component, to update the options of Image Viewer to the current state.

<Note>
  The Options dialog box can be displayed if the [MI\_Options](/fine-reader/engine/visual-components-reference/enumerations/menuitemenum#mi_options) command is called in Image Viewer, Zoom Viewer, Text Editor, or Document Viewer, if the Options button is clicked in the Save As dialog box of Document Viewer, or if Settings > Options is clicked in Text Validator.
</Note>

## Syntax

### C++

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

### C\#

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

### Visual Basic .NET

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

## Return values

This method has no specific return values. It returns the [standard return values of ABBYY FineReader Engine functions](/fine-reader/engine/api-reference/return-codes).

## See also

[ImageViewer](/fine-reader/engine/visual-components-reference/imageviewer)
