MatrixColumnCount class

Office 2013 and later

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

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]

count (Matrix Column Count)

This element specifies the number of columns to which a property applies.

Whether the element is absent or present without the val attribute, the default of the val attribute is 1.

[Example: The example below specifies that two of the columns in the matrix described by the XML have the center property.

<m:mPr>
  <m:cSp  m:val="120"/>
  <m:mcs>
    <m:mc>
      <m:mcPr>
        <m:count  m:val="2"/>
        <m:mcJc m:val="center"/>
      </m:mcPr>
    </m:mc>
  </m:mcs>
</m:mPr>

end example]

Parent Elements

mcPr (§22.1.2.66)

Attributes

Description

val (Value)

Specifies the number of columns to which a column property applies.

[Example: A count attribute value of 3 specifies that the property applies to the next three columns of the matrix. end example]

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

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