TdxRichEditControlSetSectionLineNumberingRestartNewSection Class
An action object that corresponds to the SetSectionLineNumberingRestartNewSection command provided by the Rich Edit control.
Declaration
TdxRichEditControlSetSectionLineNumberingRestartNewSection = class(
TdxRichEditControlAction
)
Remarks
This class does not introduce any new public members. Executing a TdxRichEditControlSetSectionLineNumberingRestartNewSection action object restarts line numbering from the beginning for each new section in the current document.
UI elements linked to a TdxRichEditControlSetSectionLineNumberingRestartNewSection 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 TdxRichEditControlSetSectionLineNumberingRestartNewSection action object, use the sdxRichEditCommandSetSectionLineNumberingRestartNewSectionMenuCaption and sdxRichEditCommandSetSectionLineNumberingRestartNewSectionDescription resource strings, respectively.