Skip to main content

TdxPDFViewerGoToNextView Class

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

Declaration

TdxPDFViewerGoToNextView = class(
    TdxPDFViewerCustomAction
)

Remarks

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

UI elements linked to a TdxPDFViewerGoToNextView 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 last in the view state history (i.e., the PDF Viewer’s CanGoToNextView function returns True).

See Also