Skip to main content

TdxRichEditControlZoomPercent Class

An action object that corresponds to the ZoomPercent command provided by the Rich Edit control.

Declaration

TdxRichEditControlZoomPercent = class(
    TdxRichEditControlSingleValueAction
)

Remarks

The TdxRichEdiControlZoomPercent class does not introduce any new public members. This action object is designed to be used in a Ribbon or Toolbar UI by a TcxComboBox item control.

A number picked by using a TcxBarEditItem UI element is applied to the current document as its zoom percent value. The range of available zoom factor values is limited by the TdxRichEditView.MinZoomFactor and TdxRichEditView.MaxZoomFactor constant values.

UI elements linked to a TdxRichEditControlZoomPercent action object are Enabled only if the Rich Edit control’s Options.Behavior.Zooming property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.

See Also