共用方式為


Document.SaveFormat Property

Definition

Gets the file format of the document.

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

Property Value

The file format of the document.

Remarks

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.

Applies to