Back to Devexpress

ViewTabCommandId Enum

aspnetcore-js-devexpress-dot-richedit-865ea4e4.md

latest1.7 KB
Original Source

ViewTabCommandId Enum

Lists commands contained in the View tab.

Declaration

ts
export enum ViewTabCommandId {
    SwitchToSimpleView = 405,
    SwitchToPrintLayout = 406,
    ToggleShowHorizontalRuler = 94,
    ToggleFullScreen = 98,
    ChangeZoomLevel = 460
}

Members

NameDescription
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.

|

Remarks

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

javascript
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

CommandId