_Document.SaveFormat Property

Definition

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

public:
 property int SaveFormat { int get(); };
public int SaveFormat { get; }
member this.SaveFormat : int
Public ReadOnly Property SaveFormat As Integer

Property Value

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(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method to save a document in a file format for which there isn't a corresponding WdSaveFormat constant.

Applies to