Skip to main content

TdxRichEditControlTableOfContentsSetParagraphHeading2Level Class

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

Declaration

TdxRichEditControlTableOfContentsSetParagraphHeading2Level = class(
    TdxRichEditControlAction
)

Remarks

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

See Also