All docs
V20.1
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+

Section.EndnoteOptions Property

Provides access to the endnote options.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

EndnoteOptions EndnoteOptions { get; }
ReadOnly Property EndnoteOptions As EndnoteOptions

Property Value

Type Description
EndnoteOptions

An object that contains endnote options.

Remarks

Use the EndnoteOptions properties to specify the format of endnotes. The options are applied to endnotes in the current section.

The NumberingFormat, StartNumber, and RestartType properties allow you to change endnote's format. If the RestartType property is set to NoteRestartType.NewSection or NoteRestartType.NewPage, the StartNumber property value is ignored.

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;
}

Use the Document.EndnotePosition property to specify the endnote location. You can place endnotes at the end of the document, or they can appear at the end of each section.

The code sample below shows how to use this property:

RichEditDocumentServer wordProcessor = new RichEditDocumentServer();
wordProcessor.LoadDocument("Document.docx");
Document document = wordProcessor.Document;
document.EndnotePosition = EndnotePosition.EndOfSection;
See Also