Partager via


VisOpenSaveArgs Constants

Visio Automation Reference

Flags to be passed to the Documents.AddEx, Documents.OpenEx, and Documents.SaveAsEx methods.

Constant Value Description

visAddDocked

4

Adds a document in a docked window.

visAddHidden

64

Adds a document in a hidden window.

visAddMacrosDisabled

128

Adds a document with macros disabled.

visAddMinimized

16

Adds a document in a minimized window

visAddNoWorkspace

256

Adds a document with no workspace information.

visAddStencil

512

Adds a new stencil file.

visOpenCopy

1

Opens a copy of the document.

visOpenDocked

4

Opens a stencil in a docked window.

visOpenDontList

8

Opens the document without adding it to the Most Recently Used (MRU) list.

visOpenHidden

64

Opens the document in a hidden window.

visOpenMacrosDisabled

128

Opens the document with macros disabled.

visOpenMinimized

16

Opens the document in a minimized window.

visOpenNoWorkspace

256

Opens the document with no workspace information.

visOpenRO

2

Opens the document as read-only.

visOpenRW

32

Opens the document for both reading and writing.

visSaveAsListInMRU

4

Saves the document and puts it in the MRU list.

visSaveAsRO

1

Saves the document as read-only.

visSaveAsWS

2

Saves the workspace and the file.