Skip to main content

TdxPDFViewerGoToPrevView Class

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

Declaration

TdxPDFViewerGoToPrevView = class(
    TdxPDFViewerCustomAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerGoToPrevView action object navigates to the preceding state in the loaded PDF document’s history of view states. Technically, this action object calls the PDF Viewer’s GoToPrevView procedure.

UI elements linked to a TdxPDFViewerGoToPrevView 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 current state is not the first in the view state history (i.e., the PDF Viewer’s CanGoToPrevView function returns True).

See Also