Document.EndnotePosition Property
Gets or set the position of endnotes in the document.
Namespace: DevExpress.XtraRichEdit.API.Native
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
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. |
Remarks
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;
Use the Section.EndnoteOptions property to specify endnotes format.
See Also