Delete Method of the Toolbar Object
This method removes the specified button or separator from the toolbar.
Syntax
C++
HRESULT Delete( MenuItemEnum CommandId );
C#
void Delete( MenuItemEnum CommandId );
Visual Basic .NET
Sub Delete(CommandId As MenuItemEnum)
Parameters
- CommandId
- [in] Specifies the element to be removed from the toolbar as a MenuItemEnum constant. See the list of available elements:
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
Before removing a command, make sure that it is on the toolbar.
See also
17.09.2024 15:14:41