Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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:

VCL PDF Viewer: The Last Document Page

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.

See Also