Click or drag to resize
Pdf Library for .NET

WordFormat Enumeration

The file format of a Word document handed to the Word to PDF converter.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public enum WordFormat
Members
Member nameValueDescription
Automatic0 The format is detected from the file extension (for a file) or from the content (for a stream).
Docx1Word 2007 and later document (.docx).
Docm2Word macro-enabled document (.docm).
Dotx3Word template (.dotx).
Dotm4Word macro-enabled template (.dotm).
Doc5Word 97-2003 binary document (.doc).
Dot6Word 97-2003 template (.dot).
Rtf7Rich Text Format (.rtf).
Txt8Plain text (.txt).
WordML9Word 2003 XML document (WordML).
Html10 HTML, read by the Word engine's own html importer (a subset of html; for full web-page rendering use HtmlToPdf).
Markdown11Markdown (.md), read by the Word engine's markdown importer.
See Also