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

# Has Method of the Toolbar Object

> Has method of the Toolbar Object in ABBYY FineReader Engine Visual Components on Windows — This method allows you to find out whether the toolbar contains a button for the specified command.

This method allows you to find out whether the toolbar contains a button for the specified command.

## Syntax

### C++

```cpp theme={null}
HRESULT Has(
  MenuItemEnum  CommandId,
  VARIANT_BOOL* Result
);
```

### C\#

```csharp theme={null}
bool Has( MenuItemEnum CommandId );
```

### Visual Basic .NET

```vb theme={null}
Function Has(CommandId As MenuItemEnum) As Boolean
```

## Parameters

CommandId

\[in] Specifies the element which should be found in the toolbar as a [MenuItemEnum](/fine-reader/engine/visual-components-reference/enumerations/menuitemenum) constant. See the list of available element:

[Image Viewer commands](/fine-reader/engine/visual-components-reference/imageviewer/image-viewer-commands)<br />[Zoom Viewer commands](/fine-reader/engine/visual-components-reference/zoomviewer/zoom-viewer-commands)<br />[Document Viewer commands](/fine-reader/engine/visual-components-reference/documentviewer/document-viewer-commands)<br />[Text Editor commands](/fine-reader/engine/visual-components-reference/texteditor/text-editor-commands)

Result

\[out, retval] Specifies whether the toolbar contains a button for the specified command.

## Return values

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

## See also

[Toolbar](/fine-reader/engine/visual-components-reference/supplementary-objects/toolbar)
