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

Toolbar

InsertAt

9/17/2024 3:14:40 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.