Foxit PDF SDK
FoxitPDFSDKPython2.MenuItemConfig Class Reference

Inherits FoxitPDFSDKPython2._object.

Public Member Functions

def MenuItemConfig ()
 Constructor. More...
 
def Set (name, user, parent, pos, pos_str, exec, enable, marked)
 Set values. More...
 

Static Public Attributes

 enable = _swig_property(_fsdk.MenuItemConfig_enable_get, _fsdk.MenuItemConfig_enable_set)
 (Only used by
 
 marked = _swig_property(_fsdk.MenuItemConfig_marked_get, _fsdk.MenuItemConfig_marked_set)
 (Only used by
 
 name = _swig_property(_fsdk.MenuItemConfig_name_get, _fsdk.MenuItemConfig_name_set)
 The language-independent name of the menu item.
 
 parent = _swig_property(_fsdk.MenuItemConfig_parent_get, _fsdk.MenuItemConfig_parent_set)
 The name of the parent menu item. Its submenu will have the new menu item added to it.
 
 pos = _swig_property(_fsdk.MenuItemConfig_pos_get, _fsdk.MenuItemConfig_pos_set)
 The position within the submenu to locate the new menu item.
 
 pos_str = _swig_property(_fsdk.MenuItemConfig_pos_str_get, _fsdk.MenuItemConfig_pos_str_set)
 (Only used by
 
 user = _swig_property(_fsdk.MenuItemConfig_user_get, _fsdk.MenuItemConfig_user_set)
 The user string (language-dependent name) to display as the menu item name.
 

Detailed Description

This class represents menu item config.

Constructor & Destructor Documentation

◆ MenuItemConfig()

def FoxitPDFSDKPython2.MenuItemConfig.MenuItemConfig ( )

Constructor.

Constructor, with another menu item config object.

Constructor, with parameters.

Parameters
[in]nameThe language-independent name of the menu item.
[in]userThe user string (language-dependent name) to display as the menu item name.
[in]parentThe name of the parent menu item. Its submenu will have the new menu item added to it.
[in]posThe position within the submenu to locate the new menu item.
[in]pos_strThe string is a named item in the menu (a language-independent name of a menu item).
[in]execAn expression string to evaluate when the menu item is selected by the user.
[in]enableAn expression string that is evaluated to determine whether to enable the menu item.
[in]markedAn expression string that determines whether the menu item has a check mark next to it.
[in]menu_item_configAnother menu item config object.

Member Function Documentation

◆ Set()

def FoxitPDFSDKPython2.MenuItemConfig.Set (   name,
  user,
  parent,
  pos,
  pos_str,
  exec,
  enable,
  marked 
)

Set values.

Parameters
[in]nameThe language-independent name of the menu item.
[in]userThe user string (language-dependent name) to display as the menu item name.
[in]parentThe name of the parent menu item. Its submenu will have the new menu item added to it.
[in]posThe position within the submenu to locate the new menu item.
[in]pos_strThe string is a named item in the menu (a language-independent name of a menu item).
[in]execAn expression string to evaluate when the menu item is selected by the user.
[in]enableAn expression string that is evaluated to determine whether to enable the menu item.
[in]markedAn expression string that determines whether the menu item has a check mark next to it.
Returns
None.