Back to Devexpress

TdxPDFViewerZoomToPageLevel Class

vcl-dxpdfvieweractions-81923802.md

latest2.4 KB
Original Source

TdxPDFViewerZoomToPageLevel Class

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

Declaration

delphi
TdxPDFViewerZoomToPageLevel = class(
    TdxPDFViewerCheckableAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerZoomToPageLevel action object sets the PDF Viewer’s OptionsZoom.ZoomMode property to pzmPages. In this mode, the displayed document is automatically zoomed in or out to fit its whole single page into the PDF Viewer’s area each time its dimensions are changed:

UI elements linked to a TdxPDFViewerZoomToPageLevel action object are enabled only if the PDF Viewer control currently displays a document (i.e., the control’s IsDocumentLoaded function returns True).

Inheritance

Show 12 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerCheckableAction TdxPDFViewerZoomToPageLevel

See Also

TdxPDFViewerZoomToPageLevel Members

dxPDFViewerActions Unit