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

TdxRichEditControlTableOfContentsSetParagraphHeading5Level Class

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

Declaration

TdxRichEditControlTableOfContentsSetParagraphHeading5Level = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlTableOfContentsSetParagraphHeading5Level action object applies the Heading 5 style to all selected paragraphs or the paragraph in which the caret (or text selection) is currently located. In order to return the default style to the current (selected) paragraph(s), use the TableOfContentsSetParagraphBodyTextLevel command.

UI elements linked to a TdxRichEditControlTableOfContentsSetParagraphHeading5Level action object are enabled only if the following conditions are met:

To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlTableOfContentsSetParagraphHeading5Level action object, use the sdxRichEditCommandSetParagraphHeadingLevelMenuCaption and sdxRichEditCommandSetParagraphHeadingLevelDescription resource strings, respectively.

See Also