DocumentFormat Enum
In This Article
Lists file document formats.
#Declaration
TypeScript
declare enum DocumentFormat {
Undefined = 0,
PlainText = 1,
Rtf = 2,
Html = 3,
OpenXml = 4,
Mht = 5,
WordML = 6,
OpenDocument = 7,
ePub = 9,
Doc = 10
}
#Members
Name | Description |
---|---|
Doc
|
MS Word 97-2003 binary file format. |
Html
|
The HTML format. |
Mht
|
The MHT format - web page archive format used to save HTML code with resources represented by external links (images etc.), in a single file |
Open
|
The Open |
Open
|
The Open |
Plain
|
The plain text format. |
Rtf
|
The Rich Text Format (RTF). |
Undefined
|
The document’s format is undefined. |
Word
|
The Wordprocessing |
e
|
EPUB® - standard format for electronic books and other digital publications. |
#Remarks
Values listed by this enumeration are used to set the RichEditFileInfo.documentFormat property and are also used as parameters in the following methods.