Back to Devexpress

TdxPDFViewerZoomOut Class

vcl-dxpdfvieweractions-ce77bea3.md

latest3.2 KB
Original Source

TdxPDFViewerZoomOut Class

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

Declaration

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

Inheritance

Show 11 items

TObject TPersistent TComponent TBasicAction TContainedAction TCustomAction TAction TdxBasicAction TdxCustomAction TdxPDFViewerCustomAction TdxPDFViewerZoomOut

See Also

dxPDFViewerZoomStep Global Variable

TdxPDFViewerZoomIn Class

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

TdxPDFViewerZoomOut Members

dxPDFViewerActions Unit