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
17.09.2024 15:14:41