Skip to main content

TdxPDFViewerZoom50 Class

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

Declaration

TdxPDFViewerZoom50 = class(
    TdxPDFViewerFixedZoomAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerZoom50 action object applies the 50% zoom factor value to the loaded document. If the PDF Viewer control’s OptionsZoom.ZoomFactor property is already set to 50, executing a TdxPDFViewerZoom50 action object has no effect.

UI elements linked to a TdxPDFViewerZoom50 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