Skip to main content

FileTabCommandId Enum

Lists commands contained in the File tab.

Declaration

export enum FileTabCommandId {
    CreateDocument = 412,
    OpenDocument = 410,
    ExportDocument = 413,
    DownloadDocumentMenu = 414,
    DownloadDocx = 418,
    DownloadRtf = 419,
    DownloadTxt = 420,
    PrintDocument = 416
}

Members

Name Description
CreateDocument

A command that creates a new document.

DownloadDocumentMenu

A command that shows the Download menu.

DownloadDocx

A command that downloads the current document in DOCX format.

DownloadRtf

A command that downloads the current document in RTF format.

DownloadTxt

A command that downloads the current document in TXT format.

ExportDocument

A command that saves the document in the specified format.

OpenDocument

A command that opens the specified document.

PrintDocument

A command that invokes the Print dialog.

Remarks

Pass the FileTabCommandId‘s field to the executeCommand(commandId) method to execute a command:

richEdit.executeCommand(DevExpress.RichEdit.FileTabCommandId.CreateDocument);

The FileTabItemId enum contains identifiers of the File tab’s ribbon items. Use an identifier to get the corresponding item and then insert it into a tab or remove the item from the File tab.

See Also