# C1.Framework.Drawing.Gdi.TransformMatrix.Translate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_TransformMatrix_Translate_" data-uid="C1.Framework.Drawing.Gdi.TransformMatrix.Translate*">Translate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_TransformMatrix_Translate_" data-uid="C1.Framework.Drawing.Gdi.TransformMatrix.Translate*"></a>
<h4 id="C1_Framework_Drawing_Gdi_TransformMatrix_Translate_System_Single_System_Single_" data-uid="C1.Framework.Drawing.Gdi.TransformMatrix.Translate(System.Single,System.Single)">Translate(float, float)</h4>
<div class="markdown level1 summary"><p>Applies the specified translation vector (offsetX and offsetY) to this Matrix object
by prepending the translation vector.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Translate(float offsetX, float offsetY)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Translate(offsetX As Single, offsetY As Single)</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.single">float</a></td>
      <td><span class="parametername">offsetX</span></td>
      <td><p>The x value by which to translate this Matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">offsetY</span></td>
      <td><p>The y value by which to translate this Matrix.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_TransformMatrix_Translate_" data-uid="C1.Framework.Drawing.Gdi.TransformMatrix.Translate*"></a>
<h4 id="C1_Framework_Drawing_Gdi_TransformMatrix_Translate_System_Single_System_Single_C1_Framework_Drawing_Gdi_TransformOrder_" data-uid="C1.Framework.Drawing.Gdi.TransformMatrix.Translate(System.Single,System.Single,C1.Framework.Drawing.Gdi.TransformOrder)">Translate(float, float, TransformOrder)</h4>
<div class="markdown level1 summary"><p>Applies the specified translation vector (offsetX and offsetY) to this Matrix object
by prepending the translation vector.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Translate(float offsetX, float offsetY, TransformOrder order)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Translate(offsetX As Single, offsetY As Single, order As TransformOrder)</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.single">float</a></td>
      <td><span class="parametername">offsetX</span></td>
      <td><p>The x value by which to translate this Matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">offsetY</span></td>
      <td><p>The y value by which to translate this Matrix.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.TransformOrder.html">TransformOrder</a></td>
      <td><span class="parametername">order</span></td>
      <td><p>A <a class="xref" href="C1.Framework.Drawing.Gdi.TransformOrder.html">TransformOrder</a> enumeration that specifies the order (append or prepend) in
which the translation is applied to this Matrix object.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
