Accusoft.NotateXpress13.Net
MenuSetEnabled 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.
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.
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 menuType As MenuType, _
   ByVal tool As AnnotationTool, _
   ByVal enabled 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 menuType,
   AnnotationTool tool,
   bool enabled
)
public: void MenuSetEnabled( 
   MenuType menuType,
   AnnotationTool tool,
   bool enabled
) 
public:
void MenuSetEnabled( 
   MenuType menuType,
   AnnotationTool tool,
   bool enabled
) 

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

Reference

NotateXpress Class
NotateXpress Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback