_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)

Syntax

'Declaration
ReadOnly Property SaveFormat As Integer
    Get
'Usage
Dim instance As _Document
Dim value As Integer

value = instance.SaveFormat
int SaveFormat { get; }

Property Value

Type: System.Int32

Remarks

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.

See Also

Reference

_Document Interface

_Document Members

Microsoft.Office.Interop.Word Namespace