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
Name | Value | Description |
---|---|---|
Auto | 0 | Instructs Wordize to recognize the format automatically. |
MsWorks | 8 | Microsoft Works 8 Document. |
Doc | 10 | Microsoft Word 95 or Word 97 - 2003 Document. |
Dot | 11 | Microsoft Word 95 or Word 97 - 2003 Template. |
DocPreWord60 | 12 | The document is in pre-Word 95 format. Wordize does not currently support loading such documents. |
Docx | 20 | Office Open XML WordprocessingML Document (macro-free). |
Docm | 21 | Office Open XML WordprocessingML Macro-Enabled Document. |
Dotx | 22 | Office Open XML WordprocessingML Template (macro-free). |
Dotm | 23 | Office Open XML WordprocessingML Macro-Enabled Template. |
FlatOpc | 24 | Office Open XML WordprocessingML stored in a flat XML file instead of a ZIP package. |
FlatOpcMacroEnabled | 25 | Office Open XML WordprocessingML Macro-Enabled Document stored in a flat XML file instead of a ZIP package. |
FlatOpcTemplate | 26 | Office Open XML WordprocessingML Template (macro-free) stored in a flat XML file instead of a ZIP package. |
FlatOpcTemplateMacroEnabled | 27 | Office Open XML WordprocessingML Macro-Enabled Template stored in a flat XML file instead of a ZIP package. |
Rtf | 30 | RTF format. |
WordML | 31 | Microsoft Word 2003 WordprocessingML format. |
Html | 50 | HTML format. |
Mhtml | 51 | MHTML (Web archive) format. |
Mobi | 52 | MOBI format. Used by MobiPocket reader and Amazon Kindle readers. |
Chm | 53 | CHM (Compiled HTML Help) format. |
Azw3 | 54 | AZW3 format. Used by Amazon Kindle readers. |
Epub | 55 | EPUB format. |
Odt | 60 | ODF Text Document. |
Ott | 61 | ODF Text Document Template. |
Text | 62 | Plain Text. |
Markdown | 63 | Markdown text document. |
64 | Pdf document. | |
Xml | 65 | XML document. |
Unknown | 255 | Unrecognized 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();