Expand Minimize

Document.SaveFormat Property

Gets the file format of the document.

Namespace:  Microsoft.Office.Tools.Word
Assemblies:   Microsoft.Office.Tools.Word.v4.0.Utilities (in Microsoft.Office.Tools.Word.v4.0.Utilities.dll)
  Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)

int SaveFormat { get; }

Property Value

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

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft