Delete Method of the PopupMenu Object

This method removes the specified element from the custom part of the context menu.

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 custom part of the context menu 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 in the custom part of the context menu.

See also

PopupMenu

InsertAt

17.09.2024 15:14:40

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.