Sets whether or not the specified menu will display when the right mouse button is clicked over the appropriate area.
Syntax
'Declaration
Public Sub MenuSetEnabled( _
ByVal As MenuType, _
ByVal As AnnotationTool, _
ByVal As Boolean _
)
'Usage
Dim instance As NotateXpress
Dim menuType As MenuType
Dim tool As AnnotationTool
Dim enabled As Boolean
instance.MenuSetEnabled(menuType, tool, enabled)
public void MenuSetEnabled(
MenuType ,
AnnotationTool ,
bool
)
public: void MenuSetEnabled(
MenuType ,
AnnotationTool ,
bool
)
public:
void MenuSetEnabled(
MenuType ,
AnnotationTool ,
bool
)
Parameters
- menuType
- The MenuType to display.
- 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.
- enabled
- A boolean value which is true when the menu is enabled, and displays when the right mouse button is clicked over the appropriate tool or element. Otherwise, false is used and the menu should be disabled.
See Also