TdxRichEditControlTableOfContentsSetParagraphHeading8Level Class
An action object that corresponds to the TableOfContentsSetParagraphHeading8Level command provided by the Rich Edit control.
Declaration
TdxRichEditControlTableOfContentsSetParagraphHeading8Level = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlTableOfContentsSetParagraphHeading8Level action object applies the Heading 8 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 TdxRichEditControlTableOfContentsSetParagraphHeading8Level 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.ParagraphStyle property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlTableOfContentsSetParagraphHeading8Level action object, use the sdxRichEditCommandSetParagraphHeadingLevelMenuCaption and sdxRichEditCommandSetParagraphHeadingLevelDescription resource strings, respectively.