EndnoteOptions.StartNumber Property
Specifies the endnote reference’s starting number.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.1.Core.dll
NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation
Declaration
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 |
|
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:
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