Skip to main content

FootnoteOptions.StartNumber Property

Specifies the footnote reference’s starting number.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

Declaration

int StartNumber { get; set; }

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
.FootnoteOptions .StartNumber

Remarks

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

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

IMAGE

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