Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentFormat Enum

Lists file document formats.

#Declaration

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

#Members

Name Description
Html

The HTML file format.

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: