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

TdxRichEditControlSetSingleParagraphSpacing Class

An action object that corresponds to the SetSingleParagraphSpacing command in the Rich Edit control.

Declaration

TdxRichEditControlSetSingleParagraphSpacing = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlSetSingleParagraphSpacing action object sets single spacing between individual lines of the active paragraph or paragraphs in which text selections are located:

UI elements linked to a TdxRichEditControlSetSingleParagraphSpacing action object are enabled only if Rich Edit control’s ReadOnly property is set to False and the Options.DocumentCapabilities.ParagraphFormatting property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetSingleParagraphSpacing action object, use the sdxRichEditCommandSetSingleParagraphSpacingMenuCaption and sdxRichEditCommandSetSingleParagraphSpacingDescription resource strings, respectively.

See Also