aspnetcore-js-devexpress-dot-richedit-865ea4e4.md
Lists commands contained in the View tab.
export enum ViewTabCommandId {
SwitchToSimpleView = 405,
SwitchToPrintLayout = 406,
ToggleShowHorizontalRuler = 94,
ToggleFullScreen = 98,
ChangeZoomLevel = 460
}
| Name | Description |
|---|---|
ChangeZoomLevel |
A command that changes the document’s zoom level.
|
| SwitchToPrintLayout |
A command that displays the current document in the print layout view mode.
|
| SwitchToSimpleView |
A command that displays the current document in the simple view mode.
|
| ToggleFullScreen |
A command that toggles full screen mode.
|
| ToggleShowHorizontalRuler |
A command that toggles the horizontal ruler's visibility.
|
Pass the ViewTabCommandId‘s field to the executeCommand(commandId) method to execute a command:
richEdit.executeCommand(DevExpress.RichEdit.ViewTabCommandId.ToggleFullScreen);
The ViewTabItemId enum contains identifiers of the View 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 View tab.
See Also