Has Method of the PopupMenu Object
This method allows you to find out whether the custom part of the context menu contains 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 context menu as a MenuItemEnum constant. See the list of available elements:
- Image Viewer commands
Zoom Viewer commands
Document Viewer commands
Text Editor commands - Result
- [out, retval] Specifies whether the custom part of the context menu contains 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
9/17/2024 3:14:41 PM