Back to Devexpress

TdxPDFViewerGoToLastPage Class

vcl-dxpdfvieweractions-421c3a1a.md

latest2.7 KB
Original Source

TdxPDFViewerGoToLastPage Class

An action object corresponding to the GoToLastPage command provided by the PDF Viewer control.

Declaration

delphi
TdxPDFViewerGoToLastPage = class(
    TdxPDFViewerNavigationAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerGoToLastPage action object selects and displays the last page of the loaded PDF document:

Technically, this action object calls the PDF Viewer’s GoToLastPage procedure.

UI elements linked to a TdxPDFViewerGoToLastPage action object are enabled only if the following conditions are met:

  • The PDF Viewer control displays a document (i.e., the control’s IsDocumentLoaded function returns True).

  • The loaded document has more than a single page.

  • Any page other than the last is currently selected and displayed.

Inheritance

Show 12 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerNavigationAction TdxPDFViewerGoToLastPage

See Also

TdxPDFViewerGoToFirstPage Class

TdxPDFViewerGoToNextPage Class

TdxPDFViewerGoToPrevPage Class

TdxPDFViewerGoToLastPage Members

dxPDFViewerActions Unit