officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-sectionlinenumbering-a3c00fd2.md
Gets or sets the starting value used for the first line.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
int Start { get; set; }
Property Start As Integer
| Type | Description |
|---|---|
| Int32 |
An integer specifying the line number of the first line.
|
The Start value is used for the first line whenever line numbering is restarted, as specified by the SectionLineNumbering.RestartType property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Start property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-richedit-enable-line-numbering-and-count-document-rows/CS/LineNumberingExample/Form1.cs#L38
richEditControl1.Document.Sections[0].LineNumbering.Start = 1;
richEditControl1.Document.Sections[0].LineNumbering.CountBy = 2;
winforms-richedit-document-api/CS/RichEditAPISample/CodeExamples/PageLayout.cs#L14
sec.LineNumbering.CountBy = 2;
sec.LineNumbering.Start = 1;
sec.LineNumbering.Distance = 0.25f;
wpf-richedit-document-api/CS/DXRichEditControlAPISample/CodeExamples/PageLayoutActions.cs#L19
sec.LineNumbering.CountBy = 2;
sec.LineNumbering.Start = 1;
sec.LineNumbering.Distance = 0.25f;
word-document-api-examples/CS/CodeExamples/PageLayoutActions.cs#L32
sec.LineNumbering.CountBy = 2;
sec.LineNumbering.Start = 1;
sec.LineNumbering.Distance = 0.25f;
winforms-richedit-enable-line-numbering-and-count-document-rows/VB/LineNumberingExample/Form1.vb#L33
richEditControl1.Views.DraftView.AllowDisplayLineNumbers = True
richEditControl1.Document.Sections(0).LineNumbering.Start = 1
richEditControl1.Document.Sections(0).LineNumbering.CountBy = 2
winforms-richedit-document-api/VB/RichEditAPISample/CodeExamples/PageLayout.vb#L13
sec.LineNumbering.CountBy = 2
sec.LineNumbering.Start = 1
sec.LineNumbering.Distance = 0.25F
wpf-richedit-document-api/VB/DXRichEditControlAPISample/CodeExamples/PageLayoutActions.vb#L11
sec.LineNumbering.CountBy = 2
sec.LineNumbering.Start = 1
sec.LineNumbering.Distance = 0.25F
word-document-api-examples/VB/CodeExamples/PageLayoutActions.vb#L33
sec.LineNumbering.CountBy = 2
sec.LineNumbering.Start = 1
sec.LineNumbering.Distance = 0.25F
See Also