Skip to main content

VCL PDF Viewer: Supported Commands List

  • 5 minutes to read

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.

C

CloseDocument
Closes the displayed PDF document.

F

Find
Displays 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.

G

GoToFirstPage
Displays 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.

GoToNextPage
Displays 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.

GoToNextView
Navigates 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.

GoToLastPage
Displays 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.

GoToPrevPage
Displays the previous page. A user can reproduce the GoToPrevPage command’s effect by pressing the Ctrl+Up key combination.

GoToPrevView
Navigates 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.

H

HandTool
Enables the Hand tool. A user can reproduce the HandTool command’s effect by clicking the “Hand Tool” item in the context menu.

O

OpenDocument
Invokes the Open dialog for loading a PDF document.

R

RotateClockwise
Rotates 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.

RotateCounterClockwise
Rotates 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.

S

SelectAll
Selects 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.

SelectTool
Enables the content selection tool. A user can reproduce the SelectTool command’s effect by clicking the “Select Tool” item in the context menu.

ShowPrintForm

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.

Z

Zoom10
Sets the zoom factor value to 10%.

Zoom25
Sets the zoom factor value to 25%.

Zoom50
Sets the zoom factor value to 50%.

Zoom75
Sets the zoom factor value to 75%.

Zoom100
Sets the zoom factor value to 100%. This command produces the same effect as ZoomActualSize.

Zoom125
Sets the zoom factor value to 125%.

Zoom150
Sets the zoom factor value to 150%.

Zoom200
Sets the zoom factor value to 200%.

Zoom400
Sets the zoom factor value to 400%.

Zoom500
Sets the zoom factor value to 500%.

ZoomActualSize
Displays 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.

ZoomFitWidth
Adjusts 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.

ZoomIn
Zooms 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.

ZoomOut
Zooms 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.

ZoomToPageLevel
Adjusts 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