Accusoft.ImagXpress13.Net
SetItemChecked Method




A Tool enumeration value associated to the menu.
An integer value which represents the top-level menu ID.
A boolean value which is true to check visible next to the item and false to not have a check visible next to the item.
A boolean value which is true when the item is checked and all other items on the same menu level are not checked. If this parameter is false and the item is checked, the other items on the same menu level can be checked as well.
Sets if a menu item should have a checkmark visible next to the item.
Syntax
'Declaration
 
Public Sub SetItemChecked( _
   ByVal tool As Tool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer, _
   ByVal isChecked As Boolean, _
   ByVal exclusive As Boolean _
) 
'Usage
 
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim isChecked As Boolean
Dim exclusive As Boolean
 
instance.SetItemChecked(tool, topMenuId, subMenuId, isChecked, exclusive)
public void SetItemChecked( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool isChecked,
   bool exclusive
)
public: void SetItemChecked( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool isChecked,
   bool exclusive
) 
public:
void SetItemChecked( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool isChecked,
   bool exclusive
) 

Parameters

tool
A Tool enumeration value associated to the menu.
topMenuId
An integer value which represents the top-level menu ID.
subMenuId
An integer value which represents the sub-level menu ID.
isChecked
A boolean value which is true to check visible next to the item and false to not have a check visible next to the item.
exclusive
A boolean value which is true when the item is checked and all other items on the same menu level are not checked. If this parameter is false and the item is checked, the other items on the same menu level can be checked as well.
See Also

Reference

ToolbarContextMenu Class
ToolbarContextMenu Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback