Back to Devexpress

TdxRichEditLineNumberingRestart Enum

vcl-dxrichedit-dot-nativeapi-9561a6b1.md

latest1.9 KB
Original Source

TdxRichEditLineNumberingRestart Enum

Enumerates available line numbering modes in a document.

Declaration

delphi
TdxRichEditLineNumberingRestart = (
    NewPage,
    NewSection,
    Continuous
);

Members

Name
NewPage
NewSection
Continuous

Remarks

Options include:

ValueEnd-User CommandDescription
NewPageSetSectionLineNumberingRestartNewPageLine numbering restarts at the beginning of each new page in a document.
NewSectionSetSectionLineNumberingRestartNewSectionLine numbering restarts at the beginning of each new section in a document.
ContinuousSetSectionLineNumberingContinuousAll 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

dxRichEdit.NativeApi Unit