Skip to main content

TdxPDFViewerZoomIn Class

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

Declaration

TdxPDFViewerZoomIn = class(
    TdxPDFViewerCustomAction
)

Remarks

This class does not introduce any new public members. Execute a TdxPDFViewerZoomIn action object to zoom the loaded PDF document in 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.MaxZoomFactor property value, the ZoomIn command has no effect. You can press the Ctrl+Plus Sign(+) key combination to produce the same effect with the same limitations.

UI elements linked to a TdxPDFViewerZoomIn action object are enabled only 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