vcl-dxrichedit-dot-nativeapi-9561a6b1.md
Enumerates available line numbering modes in a document.
TdxRichEditLineNumberingRestart = (
NewPage,
NewSection,
Continuous
);
| Name |
|---|
NewPage |
NewSection |
Continuous |
Options include:
| Value | End-User Command | Description |
|---|---|---|
| NewPage | SetSectionLineNumberingRestartNewPage | Line numbering restarts at the beginning of each new page in a document. |
| NewSection | SetSectionLineNumberingRestartNewSection | Line numbering restarts at the beginning of each new section in a document. |
| Continuous | SetSectionLineNumberingContinuous | All lines in a document have sequential numbers. No document structure change can affect line numbers in this mode. |
A document section’s LineNumbering.RestartType property references the TdxRichEditLineNumberingRestart type.
Note
TdxRichEditLineNumberingRestart is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxRichEditLineNumberingRestart.NewSection (in Delphi) or TdxRichEditLineNumberingRestart::NewSection (in C++Builder) to refer to the NewSection value in code.
See Also