Share via


ApplicationSettings.DefaultSaveFormat Property

Visio Automation Reference

Determines the format for saving Microsoft Office Visio files that appears by default in the Save as type box in the Save as dialog box (File menu) in the Visio user interface. 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 Visio files as option on the Save tab in the Options dialog box (Tools menu).

ms428372.vs_note(en-us,office.12).gif  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.

See Also