vcl-dxpdfvieweractions-df6c67c1.md
An action object corresponding to the ZoomFitWidth command provided by the PDF Viewer control.
TdxPDFViewerZoomFitWidth = class(
TdxPDFViewerCheckableAction
)
This class does not introduce any new public members. Executing a TdxPDFViewerZoomFitWidth action object sets the PDF Viewer’s OptionsZoom.ZoomMode property to pzmPageWidth. In this mode, the displayed document is automatically zoomed in or out to fit the control’s width every time it is changed:
UI elements linked to a TdxPDFViewerZoomFitWidth action object are enabled only if the PDF Viewer control currently displays a document (i.e., the control’s IsDocumentLoaded function returns True).
Show 12 items
TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerCheckableAction TdxPDFViewerZoomFitWidth
See Also