Skip to main content

TdxPDFViewerGoToNextPage Class

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

Declaration

TdxPDFViewerGoToNextPage = class(
    TdxPDFViewerNavigationAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerGoToNextPage action object selects the next page of the loaded PDF document. Technically, this action object calls the PDF Viewer’s GoToNextPage procedure.

UI elements linked to a TdxPDFViewerGoToFirstPage 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 had more than a single page.

  • Any page other than the last is currently selected.

See Also