Partager via


MatrixRow Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The following table lists the possible child types:

  • Base <m:e>

[ISO/IEC 29500-1 1st Edition]

22.1.2.69 mr (Matrix Row)

This element specifies a single row of the matrix m. [Example: An example of this element in use is the following example, a 2x2 matrix. There are two rows; the first contains the elements 1 and 2; the second contains 3 and 4.

<m:m>
<m:mPr>
<m:mcs>
<m:mc>
<m:mcPr>
          <m:count m:val="2"/>
<m:mcJc  m:val="center"/>
</m:mcPr>
</m:mc>
</m:mcs>
</m:mPr>
  <m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>1</m:t>
</m:r >
</m:e>
    <m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>2</m:t>
</m:r >
</m:e>
</m:mr>
  <m:mr>
<m:e>
<m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>3</m:t>
</m:r >
</m:e>
    <m:e>
      <m:r>
<m:rPr>
<m:scr  m:val="roman"/>
<m:sty  m:val="p"/>
</m:rPr>
<m:t>4</m:t>
</m:r >
</m:e>
</m:mr>
</m:m>

end example]

Parent Elements

m (§22.1.2.60)

Child Elements

Subclause

e (Element (Argument))

§22.1.2.32

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

MatrixRow Members

DocumentFormat.OpenXml.Math Namespace