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

TdxRichEditControlTableOfContentsSetParagraphHeading7Level Class

An action object that corresponds to the [TableOfContentsSetParagraphHeading7Level](xref:176013#CommandsList_TableOfContentsSetParagraphHeading7Level) command provided by the Rich Edit control.

Declaration

TdxRichEditControlTableOfContentsSetParagraphHeading7Level = class(
    TdxRichEditControlAction
)

Remarks

This class does not introduce any new public members. Executing a TdxRichEditControlTableOfContentsSetParagraphHeading7Level action object applies the Heading 7 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 TdxRichEditControlTableOfContentsSetParagraphHeading7Level action object are enabled only if the following conditions are met:

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

See Also