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

Usage

Dim _Document1 As _Document

Dim returnValue As Integer
returnValue = _Document1.SaveFormat

Syntax

ReadOnly Property SaveFormat() As Integer
int SaveFormat {get;}
property Int32 SaveFormat{
    Int32 get();
}
public int get_SaveFormat();
function get SaveFormat() : int;

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

_Document Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

_Document Members