vcl-177001-expresspdfviewer-concepts-vcl-pdf-viewer-supported-commands-list.md
The ExpressPDFViewer Suite provides a comprehensive set of commands that provide access to the PDF document navigation and zooming functionality. To allow a user to execute these commands, you can link them to elements of your UI manually or employ the automatic Ribbon or Toolbar UI generation feature.
CloseDocumentCloses the displayed PDF document.
FindDisplays or hides the Find panel. A user can display or hide the Find panel by pressing the Ctrl+F key combination or the Esc key, respectively. Unlike keystrokes, the Find command can perform both actions.
GoToFirstPageDisplays the document’s first page. A user can reproduce the command’s effect by pressing the Home key. Unlike the key, the GoToFirstPage command does not scroll the document view to show the top border of the first page if the page is already visible.
GoToNextPageDisplays the next page. A user can reproduce the GoToNextPage command’s effect by pressing the Enter key, PgDn key, or Ctrl+Down Arrow key combination.
GoToNextViewNavigates to the document’s next state in its view state history. A user can reproduce the GoToNextView command’s effect by pressing the Alt+Right Arrow key combination or clicking the “Next View” item in the PDF Viewer’s context menu.
GoToLastPageDisplays the document’s last page. A user can reproduce the command’s effect by pressing the End key. Unlike the key, the GoToLastPage command does not scroll the document view to show the bottom border of the last page if the page is already visible.
GoToPrevPageDisplays the previous page. A user can reproduce the GoToPrevPage command’s effect by pressing the Ctrl+Up key combination.
GoToPrevViewNavigates to the document’s previous state in its view state history. A user can reproduce the GoToPrevView command’s effect by pressing the Alt+Left Arrow key combination or clicking the Previous View item in the context menu.
HandToolEnables the Hand tool. A user can reproduce the HandTool command’s effect by clicking the “Hand Tool” item in the context menu.
OpenDocumentInvokes the Open dialog for loading a PDF document.
RotateClockwiseRotates the document’s view clockwise by 90 degrees. A user can reproduce the RotateClockwise command’s effect by pressing the Ctrl+Shift+Plus Sign(+) key combination or clicking the Rotate Clockwise item in the context menu.
RotateCounterClockwiseRotates the document’s view counterclockwise by 90 degrees. A user can reproduce the RotateCounterclockwise command’s effect by pressing the Ctrl+Shift+Minus Sign (-) key combination or clicking the “Rotate Counterclockwise” item in the context menu.
SelectAllSelects all text in the document. Users can reproduce the SelectAll command’s effect by pressing the Ctrl+A key combination, clicking the Select All item in the context menu, or quadruple-clicking on the text in the document.
SelectToolEnables the content selection tool. A user can reproduce the SelectTool command’s effect by clicking the “Select Tool” item in the context menu.
Invokes the Print dialog. A user can reproduce the ShowPrintForm command’s effect by pressing the Ctrl+P key combination or clicking the “Print…” item in the context menu, provided that the printing capability is not currently restricted.
Note
The ShowPrintForm command requires both the TdxComponentPrinter component and a valid PDF Viewer report link.
Zoom10Sets the zoom factor value to 10%.
Zoom25Sets the zoom factor value to 25%.
Zoom50Sets the zoom factor value to 50%.
Zoom75Sets the zoom factor value to 75%.
Zoom100Sets the zoom factor value to 100%. This command produces the same effect as ZoomActualSize.
Zoom125Sets the zoom factor value to 125%.
Zoom150Sets the zoom factor value to 150%.
Zoom200Sets the zoom factor value to 200%.
Zoom400Sets the zoom factor value to 400%.
Zoom500Sets the zoom factor value to 500%.
ZoomActualSizeDisplays the loaded document in full size (it sets the zoom factor value to 100%, identically to the Zoom100 command). A user can reproduce the ZoomActualSize command’s effect by clicking the Actual Size item in the context menu.
ZoomFitWidthAdjusts the zoom factor value to allow the document to occupy the maximum available width of the PDF Viewer control. A user can reproduce the ZoomFitWidth command’s effect by clicking the Fit Width item in the context menu.
ZoomInZooms the document view in by a preset value. A user can reproduce the ZoomIn command’s effect by pressing the Ctrl+Plus Sign(+) key combination or clicking the Zoom In item in the context menu.
ZoomOutZooms the document view out by a preset value. A user can reproduce the ZoomOut command’s effect by pressing the Ctrl+Minus Sign(-) key combination or clicking the Zoom Out item in the context menu.
ZoomToPageLevelAdjusts the zoom factor value to display a single document page. A user can reproduce the ZoomToPageLevel command’s effect by pressing the Zoom to Page Level item in the context menu. See Also