BarProperties Class

Bar Properties.When the object is serialized out as xml, its qualified name is m:barPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Math.BarProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Position))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
Public Class BarProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As BarProperties
[ChildElementInfoAttribute(typeof(Position))]
[ChildElementInfoAttribute(typeof(ControlProperties))]
public class BarProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Position <m:pos>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1st Edition]

22.1.2.8 barPr (Bar Properties)

This element specifies properties of the bar function. If this element is omitted, the bar assumes its default location of top (the mathematical overbar). [Example:

(x with an underbar) is represented by the following XML representation:

<m:bar>
  <m:barPr>
    <m:pos m:val="bot"/>
  </m:barPr>
  <m:e>
    <m:r>
      <m:t>x</m:t>
    </m:r>
  </m:e>
</m:bar>

end example]

Parent Elements

bar (§22.1.2.7)

Child Elements

Subclause

ctrlPr (Control Properties)

§22.1.2.23

pos (Position)

§22.1.2.84

[Note: The W3C XML Schema definition of this element’s content model (CT_BarPr) 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

BarProperties Members

DocumentFormat.OpenXml.Math Namespace