ApplicationSettings.DefaultSaveFormat property (Visio)

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 programmatically, use the Version property of the Document object.

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

Constant Value Description
visDefaultSaveCurrentBinary 0 Binary format for current version of Visio.
visDefaultSaveCurrentXML 2 XML format for current version of Visio.
visDefaultSavePreviousBinary 1 Binary format for previous version of Visio.

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.