MatrixColumnProperties class

Office 2013 and later

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

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]

mcPr (Matrix Column Properties)

This element specifies the properties of the matrix column mn, including the number of columns and the type of justification. [Example: As an extreme example, the following matrix has two columns that are left justified (count is 2) and three columns that are right justified (count is 3). end example]

[Example:

is represented by the following XML:

<m:m>
  <m:mPr>
    <m:mcs>
      <m:mc>
        <m:mcPr>
          <m:count m:val="3"/>
          <m:mcJc m:val="right"/>
        </m:mcPr>
      </m:mc>
    </m:mcs>
  </m:mPr>
  <m:mr>
    <m:e>
      <m:r>
        <m:t>1</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>2222</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>3</m:t>
      </m:r>
    </m:e>
  </m:mr>
  <m:mr>
    <m:e>
      <m:r>
        <m:t>4444</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>5</m:t>
      </m:r>
    </m:e>
    <m:e>
      <m:r>
        <m:t>6666</m:t>
      </m:r>
    </m:e>
  </m:mr>
</m:m>

All three columns are right aligned.

end example]

Parent Elements

mc (§22.1.2.64)

Child Elements

Subclause

count (Matrix Column Count)

§22.1.2.21

mcJc (Matrix Column Justification)

§22.1.2.65

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