# GrapeCity.ActiveReports.Drawing.MatrixEx.Scale

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Drawing_MatrixEx_Scale_" data-uid="GrapeCity.ActiveReports.Drawing.MatrixEx.Scale*">Scale Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Drawing_MatrixEx_Scale_" data-uid="GrapeCity.ActiveReports.Drawing.MatrixEx.Scale*"></a>
<h4 id="GrapeCity_ActiveReports_Drawing_MatrixEx_Scale_System_Numerics_Matrix3x2_System_Single_System_Single_GrapeCity_ActiveReports_Drawing_MatrixOrderEx_" data-uid="GrapeCity.ActiveReports.Drawing.MatrixEx.Scale(System.Numerics.Matrix3x2,System.Single,System.Single,GrapeCity.ActiveReports.Drawing.MatrixOrderEx)">Scale(Matrix3x2, float, float, MatrixOrderEx)</h4>
<div class="markdown level1 summary"><p>Prepends a scale vector to the <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 static Matrix3x2 Scale(this Matrix3x2 matrix, float scaleX, float scaleY, MatrixOrderEx order = MatrixOrderEx.Prepend)</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">matrix</span></td>
      <td><p>This Matrix3x2 object.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">scaleX</span></td>
      <td><p>The scaled amount on the x-axis.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">scaleY</span></td>
      <td><p>The scaled mount on the y-axis.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Drawing.MatrixOrderEx.html">MatrixOrderEx</a></td>
      <td><span class="parametername">order</span></td>
      <td><p>A <a class="xref" href="GrapeCity.ActiveReports.Drawing.MatrixOrderEx.html">MatrixOrderEx</a> indicating the order in which the rotation should be applied</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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></td>
    </tr>
  </tbody>
</table>
</div>
