Position class

Office 2013 and later

Position (Bar). When the object is serialized out as xml, its qualified name is m:pos.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

pos (Position)

This element specifies the position of the bar or group character in the parent object; the default is bot. Whether the element is absent or present without the val attribute, the default of the val attribute is bot. [Example: The XML representation for the mathematical overbar is:

<m:bar>
  <m:barPr>
    <m:pos   m:val="top"/>
  </m:barPr>
  <m:e>
    <m:r>
      <m:t>a</m:
t>
    </
m:r>
  </m:e>
</m:bar>

end example]

Parent Elements

barPr (§22.1.2.8); groupChrPr (§22.1.2.42)

Attributes

Description

val (Value)

Specifies the position of the parent element. Possible values are top and bot.

[Example:

<m:barPr>
  <m:pos   m:val="top"/>
</m:barPr>

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

[Note: The W3C XML Schema definition of this element’s content model (CT_TopBot) is located in §A.6.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.
Show: