[]
Defines the commands available in the viewer.
public enum ViewerCommand
This enumeration lists all the commands that can be executed within the viewer. These commands can be associated with keyboard shortcuts or other UI elements to perform actions such as navigation, zooming, and document manipulation.
Name | Description |
---|---|
CopySelection | Copies the currently selected text or graphics in the document. |
DisplayFindDialog | Opens the search dialog to find text within the document. |
FocusOnPageNumber | Focuses the UI on the page number input, allowing for direct navigation. |
GoFirstPage | Navigates to the first page of the document. |
GoHistoryBack | Moves backward in the navigation history. |
GoHistoryNext | Moves forward in the navigation history. |
GoLastPage | Navigates to the last page of the document. |
GoNextPage | Navigates to the next page of the document. |
GoPreviousPage | Navigates to the previous page of the document. |
OpenReport | Opens a dialog to select and open a report. |
Initiates the print dialog. |
|
RefreshReport | Refreshes the currently loaded report. |
SetViewTypeContinuous | Sets the view type to continuous, displaying pages in a continuous vertical layout. |
SetViewTypeMultiPage | Sets the view type to multi-page, displaying multiple pages side by side. |
SetViewTypeSinglePage | Sets the view type to single page, displaying one page at a time. |
ToggleTOC | Toggles the visibility of the table of contents. |
ZoomIn | Increases the zoom level of the document. |
ZoomOut | Decreases the zoom level of the document. |
ZoomReset | Resets the zoom level to the default state. |