VisDocModeArgs enumeration (Visio)

Flags passed to or returned by the Document.Mode property and IDs returned by Document.ID.

Constant Value Description
visDocModeDesign 1 The document is in design mode.
visDocModeRun 0 The document is in run mode.
visInvalDocID -1 The document ID is invalid. Document.ID will never return this value for an open document.

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.