Freigeben über


MatrixProperties-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(BaseJustification))> _
<ChildElementInfoAttribute(GetType(RowSpacing))> _
<ChildElementInfoAttribute(GetType(HidePlaceholder))> _
<ChildElementInfoAttribute(GetType(RowSpacingRule))> _
<ChildElementInfoAttribute(GetType(ColumnGapRule))> _
<ChildElementInfoAttribute(GetType(ColumnSpacing))> _
<ChildElementInfoAttribute(GetType(ColumnGap))> _
<ChildElementInfoAttribute(GetType(MatrixColumns))> _
<ChildElementInfoAttribute(GetType(ControlProperties))> _
Public Class MatrixProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As MatrixProperties
[ChildElementInfoAttribute(typeof(BaseJustification))]
[ChildElementInfoAttribute(typeof(RowSpacing))]
[ChildElementInfoAttribute(typeof(HidePlaceholder))]
[ChildElementInfoAttribute(typeof(RowSpacingRule))]
[ChildElementInfoAttribute(typeof(ColumnGapRule))]
[ChildElementInfoAttribute(typeof(ColumnSpacing))]
[ChildElementInfoAttribute(typeof(ColumnGap))]
[ChildElementInfoAttribute(typeof(MatrixColumns))]
[ChildElementInfoAttribute(typeof(ControlProperties))]
public class MatrixProperties : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • BaseJustification <m:baseJc>

  • HidePlaceholder <m:plcHide>

  • RowSpacingRule <m:rSpRule>

  • ColumnGapRule <m:cGpRule>

  • RowSpacing <m:rSp>

  • ColumnSpacing <m:cSp>

  • ColumnGap <m:cGp>

  • MatrixColumns <m:mcs>

  • ControlProperties <m:ctrlPr>

[ISO/IEC 29500-1 1. Ausgabe]

22.1.2.68 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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

MatrixProperties-Member

DocumentFormat.OpenXml.Math-Namespace