Viewer.ContextMenuEnabled property (Visio Viewer)
Gets or sets a value that indicates whether the shortcut (right-click) menu is enabled in Microsoft Visio Viewer. Read/write.
Syntax
expression.ContextMenuEnabled
expression An expression that returns a Viewer object.
Return value
Boolean
Remarks
The default is for the shortcut menu to be enabled (True).
If the ContextMenuEnabled property is set to False, there is no way for the user to access that menu. However, all of the commands on the menu are available on the toolbar.
Example
The following code disables the shortcut menu in Visio Viewer.
vsoViewer.ContextMenuEnabled = False
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for