Back to Devexpress

TdxPDFViewerZoomIn Class

vcl-dxpdfvieweractions-9c0175cc.md

latest3.1 KB
Original Source

TdxPDFViewerZoomIn Class

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

Declaration

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

Inheritance

Show 11 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerZoomIn

See Also

dxPDFViewerZoomStep Global Variable

TdxPDFViewerZoomOut Class

How to Create a Ribbon or Toolbar UI for your PDF Viewer Application

TdxPDFViewerZoomIn Members

dxPDFViewerActions Unit