Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the file format of the document.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word (in Microsoft.Office.Tools.Word.dll)
Syntax
'Declaration
ReadOnly Property SaveFormat As Integer
int SaveFormat { get; }
Property Value
Type: System.Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.