This documentation is archived and is not being maintained.

WdSaveFormat Enumeration

Specifies the format to use when saving a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

public enum WdSaveFormat

Member nameDescription
wdFormatDocumentMicrosoft Word format.
wdFormatDocument97Microsoft Word 97 document format.
wdFormatTemplateMicrosoft Word template format.
wdFormatTemplate97Word 97 template format.
wdFormatTextMicrosoft Windows text format.
wdFormatTextLineBreaksMicrosoft Windows text format with line breaks preserved.
wdFormatDOSTextMicrosoft DOS text format.
wdFormatDOSTextLineBreaksMicrosoft DOS text with line breaks preserved.
wdFormatRTFRich text format (RTF).
wdFormatUnicodeTextUnicode text format.
wdFormatEncodedTextEncoded text format.
wdFormatHTMLStandard HTML format.
wdFormatWebArchiveWeb archive format.
wdFormatFilteredHTMLFiltered HTML format.
wdFormatXMLExtensible Markup Language (XML) format.
wdFormatXMLDocumentXML document format.
wdFormatXMLDocumentMacroEnabledXML template format with macros enabled.
wdFormatXMLTemplateXML template format.
wdFormatXMLTemplateMacroEnabledXML template format with macros enabled.
wdFormatDocumentDefaultWord default document file format. For Microsoft Office Word 2007, this is the DOCX format.
wdFormatPDFPDF format.
wdFormatXPSXPS format.
wdFormatFlatXMLReserved for internal use.
wdFormatFlatXMLMacroEnabledReserved for internal use.
wdFormatFlatXMLTemplateReserved for internal use.
wdFormatFlatXMLTemplateMacroEnabledReserved for internal use.