TdxRichEditControlInsertSectionBreakEvenPage Class
An action object that corresponds to the InsertSectionBreakEvenPage command provided by the Rich Edit control.
Declaration
TdxRichEditControlInsertSectionBreakEvenPage = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlInsertSectionBreakEvenPage action object inserts a section break at the caret position and starts a new section on the next even-numbered document page. If a text selection is present, it is replaced with the break.
UI elements linked to a TdxRichEditControlInsertSectionBreakEvenPage action object are enabled only if the following conditions are met:
The Rich Edit control’s ReadOnly property is set to False;
Both the Rich Edit control’s Options.DocumentCapabilities.Sections and Options.DocumentCapabilities.Paragraphs properties are set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled;
The header/footer editing mode is disabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlInsertSectionBreakEvenPage action object, use the sdxRichEditCommandInsertSectionBreakEvenPageMenuCaption and sdxRichEditCommandInsertSectionBreakEvenPageDescription resource strings, respectively.