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,
DownloadHtml = 421,
PrintDocument = 416
}
#Members
Name | Description |
---|---|
Create
|
A command that creates a new document. |
Download
|
A command that shows the Download menu. |
Download
|
A command that downloads the current document in DOCX format. |
Download
|
A command that downloads the current document in HTML format. |
Download
|
A command that downloads the current document in RTF format. |
Download
|
A command that downloads the current document in TXT format. |
Export
|
A command that saves the document in the specified format. |
Open
|
A command that opens the specified document. |
Print
|
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.