LoadFormat Enum

Wordize.LoadFormat enum. Indicates the format of the document that is to be loaded.

LoadFormat enumeration

Indicates the format of the document that is to be loaded.

public enum LoadFormat

Values

NameValueDescription
Auto0Instructs Wordize to recognize the format automatically.
MsWorks8Microsoft Works 8 Document.
Doc10Microsoft Word 95 or Word 97 - 2003 Document.
Dot11Microsoft Word 95 or Word 97 - 2003 Template.
DocPreWord6012The document is in pre-Word 95 format. Wordize does not currently support loading such documents.
Docx20Office Open XML WordprocessingML Document (macro-free).
Docm21Office Open XML WordprocessingML Macro-Enabled Document.
Dotx22Office Open XML WordprocessingML Template (macro-free).
Dotm23Office Open XML WordprocessingML Macro-Enabled Template.
FlatOpc24Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package.
FlatOpcMacroEnabled25Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package.
FlatOpcTemplate26Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package.
FlatOpcTemplateMacroEnabled27Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package.
Rtf30RTF format.
WordML31Microsoft Word 2003 WordprocessingML format.
Html50HTML format.
Mhtml51MHTML (Web archive) format.
Mobi52MOBI format. Used by MobiPocket reader and Amazon Kindle readers.
Chm53CHM (Compiled HTML Help) format.
Azw354AZW3 format. Used by Amazon Kindle readers.
Epub55EPUB format.
Odt60ODF Text Document.
Ott61ODF Text Document Template.
Text62Plain Text.
Markdown63Markdown text document.
Pdf64Pdf document.
Xml65XML document.
Unknown255Unrecognized format, cannot be loaded by Wordize.

Examples

Shows how to set document load format explicitly in load options.

LoadOptions loadOptions = new LoadOptions();
loadOptions.LoadFormat = LoadFormat.Text;

Converter.Create()
    .From(MyDir + "Simple.md", loadOptions)
    .To(ArtifactsDir + "LoadOptions.LoadFormat.docx")
    .Execute();

See Also