TdxRichEditControlDecreaseFontSize Class
An action object that corresponds to the DecreaseFontSize command provided by the Rich Edit control.
Declaration
TdxRichEditControlDecreaseFontSize = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlDecreaseFontSize action object decreases the current font size by one position within the Rich Edit control’s set of predefined font size values.
UI elements linked to a TdxRichEditControlDecreaseFontSize action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
The Rich Edit control’s Options.DocumentCapabilities.CharacterFormatting property is set to TdxDocumentCapability.Deafault or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlDecreaseFontSize action object, use the sdxRichEditCommandDecreaseFontSizeMenuCaption and sdxRichEditCommandDecreaseFontSizeDescription resource strings, respectively.