MatrixProperties class

Office 2013 and later

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

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]

mPr (Matrix Properties)

This element specifies properties of the matrix m, including the justification of the matrix and the layout of elements within the matrix. [Example:

is represented by the following XML:

<m:oMath>
  <m:r>
    <m:t>a+</m:t>
  </m:r>
  <m:m>
    <m:mPr>
      <m:baseJc m:val="top"/>
    </m:mPr>
    <m:mr>
      <m:e>
        <m:r>
          <m:t>1</m:t>
        </m:r>
      </m:e>
      <m:e>
        <m:r>
          <m:t>2</m:t>
        </m:r>
      </m:e>
    </m:mr>
    <m:mr>
      <m:e>
        <m:r>
          <m:t>3</m:t>
        </m:r>
      </m:e>
      <m:e>
        <m:r>
          <m:t>4</m:t>
        </m:r>
      </m:e>
    </m:mr>
  </m:m>
  <m:r>
    <m:t>+b</m:t>
  </m:r>
</m:oMath>

This top row of the matrix is aligned with the rest of the baseline.

end example]

Parent Elements

m (§22.1.2.60)

Child Elements

Subclause

baseJc (Matrix Base Justification)

§22.1.2.9

cGp (Matrix Column Gap)

§22.1.2.18

cGpRule (Matrix Column Gap Rule)

§22.1.2.19

cSp (Minimum Matrix Column Width)

§22.1.2.22

ctrlPr (Control Properties)

§22.1.2.23

mcs (Matrix Columns)

§22.1.2.67

plcHide (Hide Placeholders (Matrix))

§22.1.2.83

rSp (Row Spacing (Array))

§22.1.2.92

rSpRule (Row Spacing Rule)

§22.1.2.93

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