Share via


Document.SaveFormat Property

Gets the file format of the document.

Namespace:  Microsoft.Office.Tools.Word
Assembly:  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

Syntax

'Declaration
ReadOnly Property SaveFormat As Integer
int SaveFormat { get; }

Property Value

Type: System.Int32
The file format of the document.

Remarks

The value is a unique number that specifies an external file converter or a WdSaveFormat constant.

Use the value of this property for the FileFormat argument of the SaveAs method to save a document in a file format for which there is not a corresponding WdSaveFormat constant.

.NET Framework Security

See Also

Reference

Document Interface

Microsoft.Office.Tools.Word Namespace