Skip to main content
A newer version of this page is available. .

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.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlZoomPercent action object, use the sdxRichEditCommnadZoomMenuCaption and sdxRichEditCommandZoomDescription resource strings, respectively.

See Also