TdxRichEditControlSetSectionLineNumberingRestartNewPage Class
An action object that corresponds to the SetSectionLineNumberingRestartNewPage command provided by the Rich Edit control.
Declaration
TdxRichEditControlSetSectionLineNumberingRestartNewPage = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlSetSectionLineNumberingRestartNewPage action object restarts line numbering from the beginning of each new page in the current document.
UI elements linked to a TdxRichEditControlSetSectionLineNumberingRestartNewPage 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.Sections property is set to TdxDocumentCapability.Default or TdxDocumentCapability.Enabled.
To localize the caption and hint displayed by UI elements linked to a TdxRichEditControlSetSectionLineNumberingRestartNewPage action object, use the sdxRichEditCommandSetSectionLineNumberingRestartNewPageMenuCaption and sdxRichEditCommandSetSectionLineNumberingRestartNewPageDescription resource strings, respectively.