Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRichEditLineNumberingRestart Enum

Enumerates available line numbering modes in a document.

#Declaration

Delphi
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