Skip to main content

TdxPDFViewerGoToPrevPage Class

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

Declaration

TdxPDFViewerGoToPrevPage = class(
    TdxPDFViewerNavigationAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerGoToPrevPage action object selects the page preceding the currently selected page. Technically, this action object calls the PDF Viewer’s GoToPrevPage procedure.

UI elements linked to a TdxPDFViewerGoToPrevPage 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 first is currently selected (i.e., the PDF Viewer control’s CurrentPageIndex property value exceeds 0).

See Also