VisRibbonXModes enumeration (Visio)

Specifies constants that identify the various modes in which to display the custom UI; constant passed to the RegisterRibbonX method.

Name Value Description
visRXModeNone 0 Display the custom user interface (UI) when no document is active.
visRXModeDrawing 1 Display the custom UI in Drawing mode.
visRXModeStencil 2 Display the custom UI in Stencil mode.
visRXModePrintPreview 4 Display the custom UI in Print Preview mode.

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.