Chinese Simplified (简体中文)

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

PopupMenu

17.09.2024 15:14:41

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.