Accusoft.NotateXpress12.Net
MenuSetItemEnabled Method
See Also  Send Feedback
Accusoft.NotateXpressSdk Namespace > NotateXpress Class : MenuSetItemEnabled Method




tool
If the menuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An AnnotationTool enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
topMenuId
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
enabled
A boolean value which is true if the item is enabled and the application end-user can select it. Otherwise, false is returned.
exclusive
If this boolean value is true and the enabled parameter is true, the method will un-check all other items on the same menu level.

Glossary Item Box

Sets the Enabled attribute of the specified menu item on the specified menu.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

menuType
A MenuType enumeration value.
tool
If the menuType is Toolbar, then the Tool parameter is the Tool that the menu is associated with. An AnnotationTool enumeration. If the menuType is Context, the Tool parameter has no meaning and can be any value.
topMenuId
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
subMenuId
An integer which represents the item in the menu (subMenuId is 0 when the item is a top menu item). For built in menus, see the SubMenuId enumeration.
enabled
A boolean value which is true if the item is enabled and the application end-user can select it. Otherwise, false is returned.
exclusive
If this boolean value is true and the enabled parameter is true, the method will un-check all other items on the same menu level.

See Also

©2013. Accusoft Corporation. All Rights Reserved.