Accusoft.ImagXpress13.Net
SetItemVisible Method




A Tool enumeration value associated with the menu item.
An integer value which represents the top-level menu ID.
A boolean value which is true to set the given menu item to visible. Otherwise, false should be set.
A boolean value which is true to set all other menu items on the same menu level as hidden. Otherwise, false should be set.
Sets if a menu item should be visible when the menu is displayed.
Syntax
'Declaration
 
Public Sub SetItemVisible( _
   ByVal tool As Tool, _
   ByVal topMenuId As Integer, _
   ByVal subMenuId As Integer, _
   ByVal visible As Boolean, _
   ByVal exclusive As Boolean _
) 
'Usage
 
Dim instance As ToolbarContextMenu
Dim tool As Tool
Dim topMenuId As Integer
Dim subMenuId As Integer
Dim visible As Boolean
Dim exclusive As Boolean
 
instance.SetItemVisible(tool, topMenuId, subMenuId, visible, exclusive)
public void SetItemVisible( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool visible,
   bool exclusive
)
public: void SetItemVisible( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool visible,
   bool exclusive
) 
public:
void SetItemVisible( 
   Tool tool,
   int topMenuId,
   int subMenuId,
   bool visible,
   bool exclusive
) 

Parameters

tool
A Tool enumeration value associated with the menu item.
topMenuId
An integer value which represents the top-level menu ID.
subMenuId
An integer value which represents the sub-level menu ID.
visible
A boolean value which is true to set the given menu item to visible. Otherwise, false should be set.
exclusive
A boolean value which is true to set all other menu items on the same menu level as hidden. Otherwise, false should be set.
See Also

Reference

ToolbarContextMenu Class
ToolbarContextMenu Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback