FileFormat

FileFormat enumeration

Specifies the format of a file.

public enum FileFormat

Values

Name Value Description
Unspecified 0 Specifies an unset value. The default.
Doc 1 Specifies the Microsoft Word 97 - 2007 Binary Document format.
Dot 2 Specifies the Microsoft Word 97 - 2007 Binary Template format.
Docx 3 Specifies the Office Open XML WordprocessingML Document (macro-free) format.
Docm 4 Specifies the Office Open XML WordprocessingML Macro-Enabled Document format.
Dotx 5 Specifies the Office Open XML WordprocessingML Template (macro-free) format.
Dotm 6 Specifies the Office Open XML WordprocessingML Macro-Enabled Template format.
FlatOpc 7 Specifies the Office Open XML WordprocessingML format stored in a flat XML file instead of a ZIP package.
FlatOpcMacroEnabled 8 Specifies the Office Open XML WordprocessingML Macro-Enabled Document format stored in a flat XML file instead of a ZIP package.
FlatOpcTemplate 9 Specifies the Office Open XML WordprocessingML Template (macro-free) format stored in a flat XML file instead of a ZIP package.
FlatOpcTemplateMacroEnabled 10 Specifies the Office Open XML WordprocessingML Macro-Enabled Template format stored in a flat XML file instead of a ZIP package.
WordML 11 Specifies the Microsoft Word 2003 WordprocessingML format.
Odt 12 Specifies the ODF Text Document format.
Ott 13 Specifies the ODF Text Document Template format.
Xls 14 Specifies the Microsoft Excel 97 - 2007 Binary Workbook format.
Xlsx 15 Specifies the Office Open XML SpreadsheetML Workbook (macro-free) format.
Xlsm 16 Specifies the Office Open XML SpreadsheetML Macro-Enabled Workbook format.
Xltx 17 Specifies the Office Open XML SpreadsheetML Template (macro-free) format.
Xltm 18 Specifies the Office Open XML SpreadsheetML Macro-Enabled Template format.
Xlam 19 Specifies the Office Open XML SpreadsheetML Macro-Enabled Add-in format.
Xlsb 20 Specifies the Microsoft Excel 2007 Macro-Enabled Binary File format.
SpreadsheetML 21 Specifies the Microsoft Excel 2003 SpreadsheetML format.
Ods 22 Specifies the ODF Spreadsheet format.
Ppt 23 Specifies the Microsoft PowerPoint 97 - 2007 Binary Presentation format.
Pps 24 Specifies the Microsoft PowerPoint 97 - 2007 Binary Slide Show format.
Pptx 25 Specifies the Office Open XML PresentationML Presentation (macro-free) format.
Pptm 26 Specifies the Office Open XML PresentationML Macro-Enabled Presentation format.
Ppsx 27 Specifies the Office Open XML PresentationML Slide Show (macro-free) format.
Ppsm 28 Specifies the Office Open XML PresentationML Macro-Enabled Slide Show format.
Potx 29 Specifies the Office Open XML PresentationML Template (macro-free) format.
Potm 30 Specifies the Office Open XML PresentationML Macro-Enabled Template format.
Odp 31 Specifies the ODF Presentation format.
MsgAscii 32 Specifies the Microsoft Outlook Message (MSG) format using ASCII character encoding.
MsgUnicode 33 Specifies the Microsoft Outlook Message (MSG) format using Unicode character encoding.
Eml 34 Specifies the MIME standard format.
Emlx 35 Specifies the Apple Mail.app program file format.
Rtf 36 Specifies the RTF format.
Text 37 Specifies the plain text format.
Xml 38 Specifies the XML format of a general form.
Xaml 39 Specifies the Extensible Application Markup Language (XAML) format.
XamlPackage 40 Specifies the Extensible Application Markup Language (XAML) package format.
Html 41 Specifies the HTML format.
Mhtml 42 Specifies the MHTML (Web archive) format.
Xps 43 Specifies the XPS (XML Paper Specification) format.
OpenXps 44 Specifies the OpenXPS (Ecma-388) format.
Pdf 45 Specifies the PDF (Adobe Portable Document) format.
Epub 46 Specifies the IDPF EPUB format.
Ps 47 Specifies the PS (PostScript) format.
Pcl 48 Specifies the PCL (Printer Control Language) format.
Svg 49 Specifies the SVG (Scalable Vector Graphics) format.
Tiff 50 Specifies the TIFF format.
Markdown 51 Specifies the Markdown format.
Pot 52 Specifies the Microsoft PowerPoint 97 - 2007 Binary Template format.
Otp 53 Specifies the ODF Presentation Template format.
Xlt 54 Specifies the Microsoft Excel 97 - 2007 Binary Template format.

See Also