Has Method of the Toolbar Object
This method allows you to find out whether the toolbar contains a button for the specified command.
Syntax
C++
HRESULT Has( MenuItemEnum CommandId, VARIANT_BOOL* Result );
C#
bool Has( MenuItemEnum CommandId );
Visual Basic .NET
Function Has(CommandId As MenuItemEnum) As Boolean
Parameters
- CommandId
- [in] Specifies the element which should be found in the toolbar as a MenuItemEnum constant. See the list of available element:
- Image Viewer commands
Zoom Viewer commands
Document Viewer commands
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.
See also
17.09.2024 15:14:41