Поделиться через


EndnotePosition.Val Property

Endnote Position Type.Represents the attribte in schema: w:val

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

Syntax

'Декларация
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of EndnotePositionValues)
    Get
    Set
'Применение
Dim instance As EndnotePosition
Dim value As EnumValue(Of EndnotePositionValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<EndnotePositionValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<EndnotePositionValues>
Returns EnumValue<T>.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

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

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

<w:settings>
  <w:endnotePr>
    <w:pos w:val="endSect" />
  </w:endnotePr>
  …
</w:settings>

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

The possible values for this attribute are defined by the ST_EdnPos simple type.

See Also

Reference

EndnotePosition Class

EndnotePosition Members

DocumentFormat.OpenXml.Wordprocessing Namespace