# GrapeCity.Documents.Common.Matrix.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Common_Matrix__ctor_" data-uid="GrapeCity.Documents.Common.Matrix.#ctor*">Matrix Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Common_Matrix__ctor_" data-uid="GrapeCity.Documents.Common.Matrix.#ctor*"></a>
<h4 id="GrapeCity_Documents_Common_Matrix__ctor_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Documents.Common.Matrix.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">Matrix(double, double, double, double, double, double)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Common.Matrix.html">Matrix</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Matrix(double m11, double m12, double m21, double m22, double m31, double m32)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(m11 As Double, m12 As Double, m21 As Double, m22 As Double, m31 As Double, m32 As Double)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m11</span></td>
      <td><p>The value to assign at row 1 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m12</span></td>
      <td><p>The value to assign at row 1 column 2 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m21</span></td>
      <td><p>The value to assign at row 2 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m22</span></td>
      <td><p>The value to assign at row 2 column 2 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m31</span></td>
      <td><p>The value to assign at row 3 column 1 of the matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">m32</span></td>
      <td><p>The value to assign at row 3 column 2 of the matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Common_Matrix__ctor_" data-uid="GrapeCity.Documents.Common.Matrix.#ctor*"></a>
<h4 id="GrapeCity_Documents_Common_Matrix__ctor_System_Numerics_Matrix3x2_" data-uid="GrapeCity.Documents.Common.Matrix.#ctor(System.Numerics.Matrix3x2)">Matrix(Matrix3x2)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Common.Matrix.html">Matrix</a> class from <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Matrix(Matrix3x2 m)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(m As Matrix3x2)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a></td>
      <td><span class="parametername">m</span></td>
      <td><p>The source <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.matrix3x2">Matrix3x2</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
