_Document.SaveFormat 属性

定义

返回一个Integer类型的值,该值代表指定的文档或文件转换器的文件格式。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

属性值

Int32

注解

文件格式是指定外部文件转换器或常量的唯一编号 WdSaveFormatThe file format is a unique number that specifies an external file converter or a WdSaveFormat constant.

使用方法的SaveFormat属性的值将 FileFormat SaveAs(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) 文档保存为不具有相应的WdSaveFormat常量的文件格式。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.

适用于