WdSaveFormat Enum

Definition

Specifies the format to use when saving a document.

public enum class WdSaveFormat
[System.Runtime.InteropServices.Guid("6AEEBC10-0420-3FB1-8A04-5F2053C4DAE9")]
public enum WdSaveFormat
type WdSaveFormat = 
Public Enum WdSaveFormat
Inheritance
WdSaveFormat
Attributes

Fields

Name Value Description
wdFormatDocument 0

Microsoft Word format.

wdFormatDocument97 0

Microsoft Word 97 document format.

wdFormatTemplate 1

Microsoft Word template format.

wdFormatTemplate97 1

Word 97 template format.

wdFormatText 2

Microsoft Windows text format.

wdFormatTextLineBreaks 3

Microsoft Windows text format with line breaks preserved.

wdFormatDOSText 4

Microsoft DOS text format.

wdFormatDOSTextLineBreaks 5

Microsoft DOS text with line breaks preserved.

wdFormatRTF 6

Rich text format (RTF).

wdFormatEncodedText 7

Encoded text format.

wdFormatUnicodeText 7

Unicode text format.

wdFormatHTML 8

Standard HTML format.

wdFormatWebArchive 9

Web archive format.

wdFormatFilteredHTML 10

Filtered HTML format.

wdFormatXML 11

Extensible Markup Language (XML) format.

wdFormatXMLDocument 12

XML document format.

wdFormatXMLDocumentMacroEnabled 13

XML template format with macros enabled.

wdFormatXMLTemplate 14

XML template format.

wdFormatXMLTemplateMacroEnabled 15

XML template format with macros enabled.

wdFormatDocumentDefault 16

Word default document file format. For Microsoft Office Word 2007, this is the DOCX format.

wdFormatPDF 17

PDF format.

wdFormatXPS 18

XPS format.

wdFormatFlatXML 19

Reserved for internal use.

wdFormatFlatXMLMacroEnabled 20

Reserved for internal use.

wdFormatFlatXMLTemplate 21

Reserved for internal use.

wdFormatFlatXMLTemplateMacroEnabled 22

Reserved for internal use.

wdFormatOpenDocumentText 23
wdFormatStrictOpenXMLDocument 24

Strict Open XML document format.

Applies to