Skip to main content
A newer version of this page is available. .

DocumentFormat Enum

Lists file document formats.

Declaration

export enum DocumentFormat {
    PlainText = 1,
    Rtf = 2,
    OpenXml = 4
}

Members

Name Description
OpenXml

The OpenXML file format (aka default MS Office 2007 format or .docx).

PlainText

The plain text format.

Rtf

The Rich Text Format.

Remarks

Values listed by this enumeration are used to set the format property and the documentFormat parameter in the following methods: