Share via


Position Class

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

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Math.TopBottomType
        DocumentFormat.OpenXml.Math.Position

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

Syntax

'Declaration
Public Class Position _
    Inherits TopBottomType
'Usage
Dim instance As Position
public class Position : TopBottomType

Remarks

[ISO/IEC 29500-1 1st Edition]

22.1.2.84 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.

Thread Safety

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

See Also

Reference

Position Members

DocumentFormat.OpenXml.Math Namespace