ApplicationSettings.DefaultSaveFormat Property (Visio)
Determines the default format for saving Microsoft Visio files. Read/write.
Version Information
Version Added: Visio 2003
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.
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. |