Back to Devexpress

Document.EndnotePosition Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-document-03cb255a.md

latest2.2 KB
Original Source

Document.EndnotePosition Property

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

Declaration

csharp
EndnotePosition EndnotePosition { get; set; }
vb
Property EndnotePosition As EndnotePosition

Property Value

TypeDescription
EndnotePosition

An enumeration value that indicates the endnotes’ position.

|

Available values:

NameDescription
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:

csharp
RichEditDocumentServer wordProcessor = new RichEditDocumentServer();
wordProcessor.LoadDocument("Document.docx");
Document document = wordProcessor.Document;
document.EndnotePosition = EndnotePosition.EndOfSection;
vb
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

Document Interface

Document Members

DevExpress.XtraRichEdit.API.Native Namespace