VisRibbonXModes Enumeration (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

Show: