All docs
V20.2
20.2
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

EndnoteOptions.StartNumber Property

Specifies the endnote reference's starting number.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v20.2.Core.dll

Declaration

int StartNumber { get; set; }
Property StartNumber As Integer

Property Value

Type Description
Int32

The starting number.

Property Paths

You can access this nested property as listed below:

Object Type Path to StartNumber
Section
.EndnoteOptions.StartNumber

Remarks

The StartNumber value is ignored when the EndnoteOptions.RestartType property is set to NoteRestartType.NewSection or NoteRestartType.NewPage.

The code sample below shows how to change the endnotes format so they appear as follows:

IMAGE

using (RichEditDocumentServer wordProcessor = new RichEditDocumentServer())
{
    wordProcessor.LoadDocument("Document.docx");
    Document document = wordProcessor.Document;
    EndnoteOptions endnoteOptions = document.Sections[0].EndnoteOptions;
    endnoteOptions.NumberingFormat = NumberingFormat.UpperRoman;
    endnoteOptions.StartNumber = 5;
}
See Also