VCL PDF Viewer: Supported Commands List
- 6 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 an end-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.
To localize the CloseDocument command’s Caption and Hint, use the sdxPDFViewerActionCloseDocumentCaption and sdxPDFViewerActionCloseDocumentHint resource strings.
F
- Find
Displays or hides the Find panel. An end-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.
To localize the Find command’s Caption and Hint, use the sdxPDFViewerActionFindCaption and sdxPDFViewerActionFindHint resource strings.
G
- GoToFirstPage
Displays the document’s first page. An end-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.
To localize the GoToFirstPage command’s Caption and Hint, use the sdxPDFViewerActionGoToFirstPageCaption and sdxPDFViewerActionGoToFirstPageHint resource strings.
- GoToNextPage
Displays the next page. An end-user can reproduce the GoToNextPage command’s effect by pressing the Enter key, PgDn key, or Ctrl+Down Arrow key combination.
To localize the GoToNextPage command’s Caption and Hint, use the sdxPDFViewerActionGoToNextPageCaption and sdxPDFViewerActionGoToNextPageHint resource strings.
- GoToNextView
Navigates to the document’s next state in its view state history. An end-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.
To localize the GoToNextView command’s Caption and Hint, use the sdxPDFViewerActionGoToNextViewCaption and sdxPDFViewerActionGoToNextViewHint resource strings.
- GoToLastPage
Displays the document’s last page. An end-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.
To localize the GoToLastPage command’s Caption and Hint, use the sdxPDFViewerActionGoToLastPageCaption and sdxPDFViewerActionGoToLastPageHint resource strings.
- GoToPrevPage
Displays the previous page. An end-user can reproduce the GoToPrevPage command’s effect by pressing the Ctrl+Up key combination.
To localize the GoToPrevPage command’s Caption and Hint, use the sdxPDFViewerActionGoToPrevPageCaption and sdxPDFViewerActionGoToPrevPageHint resource strings.
- GoToPrevView
Navigates to the document’s previous state in its view state history. An end-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.
To localize the GoToPrevView command’s Caption and Hint, use the sdxPDFViewerActionGoToPrevViewCaption and sdxPDFViewerActionGoToPrevViewHint resource strings.
H
- HandTool
Enables the Hand tool. An end-user can reproduce the HandTool command’s effect by clicking the “Hand Tool” item in the context menu.
To localize the HandTool command’s Caption, use the sdxPDFViewerActionHandToolCaption resource string.
O
- OpenDocument
Invokes the Open dialog for loading a PDF document.
To localize the OpenDocument command’s Caption and Hint, use the sdxPDFViewerActionOpenDocumentCaption and sdxPDFViewerActionOpenDocumentHint resource strings.
R
- RotateClockwise
Rotates the document’s view clockwise by
90
degrees. An end-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.To localize the RotateClockwise command’s Caption and Hint, use the sdxPDFViewerActionRotateClockwiseCaption and sdxPDFViewerActionRotateClockwiseHint resource strings.
- RotateCounterClockwise
Rotates the document’s view counterclockwise by
90
degrees. An end-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.To localize the RotateCounterclockwise command’s Caption and Hint, use the sdxPDFViewerActionRotateCounterclockwiseCaption and sdxPDFViewerActionRotateCounterclockwiseHint resource strings.
S
- SelectAll
Selects all text in the document. End-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.
To localize the SelectAll command’s Caption and Hint, use the sdxPDFViewerActionSelectAllCaption and sdxPDFViewerActionSelectAllHint resource strings.
- SelectTool
Enables the content selection tool. An end-user can reproduce the SelectTool command’s effect by clicking the “Select Tool” item in the context menu.
To localize the SelectTool command’s Caption, use the sdxPDFViewerActionSelectToolCaption resource string.
- ShowPrintForm
Invokes the Print dialog. An end-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.
To localize the ShowPrintForm command’s Caption and Hint, use the sdxPDFViewerActionPrintCaption and sdxPDFViewerActionPrintHint resource strings.
Z
- Zoom10
Sets the zoom factor value to
10%
.To localize the Zoom10 command’s Caption, use the sdxPDFViewerActionZoom10Caption resource string.
- Zoom25
Sets the zoom factor value to
25%
.To localize the Zoom25 command’s Caption, use the sdxPDFViewerActionZoom25Caption resource string.
- Zoom50
Sets the zoom factor value to
50%
.To localize the Zoom50 command’s Caption, use the sdxPDFViewerActionZoom50Caption resource string.
- Zoom75
Sets the zoom factor value to
75%
.To localize the Zoom75 command’s Caption, use the sdxPDFViewerActionZoom75Caption resource string.
- Zoom100
Sets the zoom factor value to
100%
. This command produces the same effect as ZoomActualSize.To localize the Zoom100 command’s Caption, use the sdxPDFViewerActionZoom100Caption resource string.
- Zoom125
Sets the zoom factor value to
125%
.To localize the Zoom125 command’s Caption, use the sdxPDFViewerActionZoom125Caption resource string.
- Zoom150
Sets the zoom factor value to
150%
.To localize the Zoom150 command’s Caption, use the sdxPDFViewerActionZoom150Caption resource string.
- Zoom200
Sets the zoom factor value to
200%
.To localize the Zoom200 command’s Caption, use the sdxPDFViewerActionZoom200Caption resource string.
- Zoom400
Sets the zoom factor value to
400%
.To localize the Zoom400 command’s Caption, use the sdxPDFViewerActionZoom400Caption resource string.
- Zoom500
Sets the zoom factor value to
500%
.To localize the Zoom500 command’s Caption, use the sdxPDFViewerActionZoom500Caption resource string.
- ZoomActualSize
Displays the loaded document in full size (it sets the zoom factor value to
100%
, identically to the Zoom100 command). An end-user can reproduce the ZoomActualSize command’s effect by clicking the Actual Size item in the context menu.To localize the ZoomActualSize command’s Caption, use the sdxPDFViewerActionZoomActualSizeCaption resource string.
- ZoomFitWidth
Adjusts the zoom factor value to allow the document to occupy the maximum available width of the PDF Viewer control. An end-user can reproduce the ZoomFitWidth command’s effect by clicking the Fit Width item in the context menu.
To localize the ZoomFitWidth command’s Caption, use the sdxPDFViewerActionZoomFitWidthCaption resource string.
- ZoomIn
Zooms the document view in by a preset value. An end-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.
To localize the ZoomIn command’s Caption and Hint, use the sdxPDFViewerActionZoomInCaption and sdxPDFViewerActionZoomInHint resource string.
- ZoomOut
Zooms the document view out by a preset value. An end-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.
To localize the ZoomOut command’s Caption and Hint, use the sdxPDFViewerActionZoomOutCaption and sdxPDFViewerActionZoomOutHint resource strings.
- ZoomToPageLevel
Adjusts the zoom factor value to display a single document page. An end-user can reproduce the ZoomToPageLevel command’s effect by pressing the Zoom to Page Level item in the context menu.
To localize the ZoomToPageLevel command’s Caption, use the sdxPDFViewerActionZoomToPageLevelCaption resource string.