Table of contents
TOC
Collapse the table of content
Expand the table of content

ApplicationSettings.DefaultSaveFormat Property (Visio)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Determines the default format for saving Microsoft Visio files. Read/write.

Syntax

expression . DefaultSaveFormat

expression A variable that represents an ApplicationSettings object.

Return Value

VisDefaultSaveFormats

Remarks

Setting the DefaultSaveFormat property is equivalent to setting the Save files in this format option on the Save tab in the Visio Options dialog box (click the File tab, click Options, and then click Save).

Note The DefaultSaveFormat property setting has no effect on the file type in which Visio files are saved by the Save or SaveAs methods of the Document object. To control the file type in which a document is saved programatically, use the Version property of the Document object.

The following VisDefaultSaveFormats constants, which are declared in the Visio type libary, show the possible values for the DefaultSaveFormat property.

ConstantValueDescription
visDefaultSaveCurrentBinary0Binary format for current version of Visio.
visDefaultSaveCurrentXML2XML format for current version of Visio.
visDefaultSavePreviousBinary1Binary format for previous version of Visio.
© 2018 Microsoft