Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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:

VCL PDF Viewer: Zoom to Page Level

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).

See Also