| FoxitPDFSDKforWeb v11.0.5 Archives Foxit PDF SDK for Web

Public Member Functions | List of all members
IContextMenuItem Class Reference

This is an abstract contextmenu-item class. The various behaviors of the user-customized contextmenu-item can be encapsulated in its subclasses, and then its subclasses should be obtained from `IContextMenu::getItem` by the name to complete the contextmenu customization. More...

## Public Member Functions
| disable ()
| Abstract function for implementing disabling of a menu item.
| enable ()
| Abstract function for implementing enabling of a menu item.
| isEnabled ()
| Abstract function for implementing detection disable/enable status of a menu item. More...

## Detailed Description

This is an abstract contextmenu-item class. The various behaviors of the user-customized contextmenu-item can be encapsulated in its subclasses, and then its subclasses should be obtained from `IContextMenu::getItem` by the name to complete the contextmenu customization.

## Member Function Documentation

## ◆ isEnabled()

IContextMenuItem::isEnabled | ( |  | ) |
| inline

Abstract function for implementing detection disable/enable status of a menu item.

Returns
  boolean Whether the menu item is enabled.

@2025 Foxit Software Incorporated. All rights reserved.