officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-03cb255a.md
Gets or set the position of endnotes in the document.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
EndnotePosition EndnotePosition { get; set; }
Property EndnotePosition As EndnotePosition
| Type | Description |
|---|---|
| EndnotePosition |
An enumeration value that indicates the endnotes’ position.
|
Available values:
| Name | Description |
|---|---|
| EndOfDocument |
Endnotes are located at the end of the document.
| | EndOfSection |
Endnotes are located at the end of each section.
|
The EndnotePosition property allows you to specify whether endnotes appear at the end of the document or at the end of each section.
The code sample below shows how to place endnotes at the end of each section:
RichEditDocumentServer wordProcessor = new RichEditDocumentServer();
wordProcessor.LoadDocument("Document.docx");
Document document = wordProcessor.Document;
document.EndnotePosition = EndnotePosition.EndOfSection;
Dim wordProcessor As New RichEditDocumentServer()
wordProcessor.LoadDocument("Documents.docx")
Dim document As Document = wordProcessor.Document
document.EndnotePosition = EndnotePosition.EndOfSection
Use the Section.EndnoteOptions property to specify endnotes format.
See Also