EndnotePosition class

Office 2013 and later

Endnote Placement. When the object is serialized out as xml, its qualified name is w:pos.


Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class EndnotePosition : OpenXmlLeafElement

[ISO/IEC 29500-1 1st Edition]

pos (Endnote Placement)

This element specifies where endnotes shall be placed on the page when they are referenced by text in the current document.

If this element is present at the section level, then it shall be ignored.

If this element is omitted at the document level, then endnotes shall be located at the end of the document.

[Example: Consider the following multi-page, multi-section document, where the endnote appears at the end of the section in which it is referenced:

The endnote setting is the same for all sections, and is represented by the following WordprocessingML at the document level:

  …  <w:endnotePr>
    <w:pos w:val="sectEnd" />
    …  </w:endnotePr>

Within the properties of the document, the position of endnotes is specified to be at the end of each section. end example]

Parent Elements

endnotePr (§17.11.4); endnotePr (§17.11.5)



val (Endnote Position Type)

Specifies the position of endnotes on the parent section or the document.

[Example: Consider a document in which endnotes must be positioned at the end of the section. The section properties for this section must be declared as follows:

    <w:pos w:val="sectEnd" />

The val attribute is endSect, therefore the position of endnotes is specified to be at the end of the section. end example]

The possible values for this attribute are defined by the ST_EdnPos simple type (§17.18.22).

[Note: The W3C XML Schema definition of this element’s content model (CT_EdnPos) is located in §A.1. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.