SaveFormat Property
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

_Document.SaveFormat Property

Returns an Integer representing the file format of the specified document or file converter.

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

int SaveFormat { get; }

Property Value

Type: System.Int32

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

Use the value of the SaveFormat property for the FileFormat argument of the SaveAs method to save a document in a file format for which there isn't a corresponding WdSaveFormat constant.

Show:
© 2016 Microsoft