Accusoft.NotateXpress13.Net
MenuSetItemChecked Method




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.
An integer which represents the top-level menu ID of the item in the menu. For built in menus, see the TopMenuId enumeration.
A boolean value which represents the checked state of the menu item.
A boolean value which if it is true and if the given checkedItem is true, the method will un-check all other items on the same menu level.
Sets the checked attribute of the specified menu item on the specified menu.
Syntax
'Declaration
 
Public Sub MenuSetItemChecked( _
   ByVal menuType As MenuType, _
   ByVal tool As AnnotationTool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer, _
   ByVal checkedItem As Boolean, _
   ByVal exclusive As Boolean _
) 
'Usage
 
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim checkedItem As Boolean
Dim exclusive As Boolean
 
instance.MenuSetItemChecked(menuType, tool, topMenuId, subMenuId, checkedItem, exclusive)
public void MenuSetItemChecked( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   bool checkedItem,
   bool exclusive
)
public: void MenuSetItemChecked( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   bool checkedItem,
   bool exclusive
) 
public:
void MenuSetItemChecked( 
   MenuType menuType,
   AnnotationTool tool,
   int topMenuId,
   int subMenuId,
   bool checkedItem,
   bool exclusive
) 

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.
checkedItem
A boolean value which represents the checked state of the menu item.
exclusive
A boolean value which if it is true and if the given checkedItem is true, the method will un-check all other items on the same menu level.
See Also

Reference

NotateXpress Class
NotateXpress Members
MenuGetItemChecked Method
MenuGetItemEnabled Method
MenuSetItemEnabled Method
MenuGetItemVisible Method
MenuSetItemVisible Method
MenuSetEnabled Method

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback