Skip to main content

TdxPDFViewerZoomOut Class

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

Declaration

TdxPDFViewerZoomOut = class(
    TdxPDFViewerCustomAction
)

Remarks

This class does not introduce any new public members. Executing a TdxPDFViewerZoomOut action object zooms the loaded PDF document out by the control’s OptionsZoom.ZoomStep property value (that is, increments the PDF Viewer’s OptionsZoom.ZoomFactor property value by the specified percentage). If the current zoom factor equals the control’s OptionsZoom.MinZoomFactor proprerty value, the ZoomOut command has no effect. You can press the Ctrl+Minus Sign(-) key combination to produce the same effect with the same limitations.

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

For detailed information on the core functionality that the PDF Viewer control’s action objects provide, refer to the TdxPDFViewerCustomAction class description.

See Also