Skip to main content

TdxRichEditLineNumberingRestart Enum

Enumerates available line numbering modes in a document.

Declaration

TdxRichEditLineNumberingRestart = (
    NewPage,
    NewSection,
    Continuous
);

Members

Name
NewPage
NewSection
Continuous

Remarks

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