VisDocModeArgs Constants

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.