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)

public class MatrixColumnCount : OpenXmlLeafElement

[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:cSp  m:val="120"/>
        <m:count  m:val="2"/>
        <m:mcJc m:val="center"/>

end example]

Parent Elements

mcPr (§



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 (§

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