VisDocModeArgs 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.

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.

Show: