aspnetcore-js-devexpress-dot-richedit-94bfc9ac.md
Lists commands contained in the File tab.
export enum FileTabCommandId {
CreateDocument = 412,
OpenDocument = 410,
ExportDocument = 413,
DownloadDocumentMenu = 414,
DownloadDocx = 418,
DownloadRtf = 419,
DownloadTxt = 420,
DownloadHtml = 421,
PrintDocument = 416
}
| 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.
|
| DownloadHtml |
A command that downloads the current document in HTML 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.
|
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