# C1.Framework.Drawing.Gdi.Graphics.Scroll

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_Graphics_Scroll_" data-uid="C1.Framework.Drawing.Gdi.Graphics.Scroll*">Scroll Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_Graphics_Scroll_" data-uid="C1.Framework.Drawing.Gdi.Graphics.Scroll*"></a>
<h4 id="C1_Framework_Drawing_Gdi_Graphics_Scroll_System_Int32_System_Int32_System_Drawing_Rectangle_" data-uid="C1.Framework.Drawing.Gdi.Graphics.Scroll(System.Int32,System.Int32,System.Drawing.Rectangle)">Scroll(int, int, Rectangle)</h4>
<div class="markdown level1 summary"><p>Moves the specified rectangle by offfset values.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void Scroll(int dx, int dy, Rectangle rectangle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub Scroll(dx As Integer, dy As Integer, rectangle As Rectangle)</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.int32">int</a></td>
      <td><span class="parametername">dx</span></td>
      <td><p>An <b>int</b> indicates the x offset.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">dy</span></td>
      <td><p>An <b>int</b> indicates the y offset.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a></td>
      <td><span class="parametername">rectangle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectangle">Rectangle</a> structure that indicates the rectangle to be moved.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Drawing_Gdi_Graphics_Scroll_System_Int32_System_Int32_System_Drawing_Rectangle__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p><red>[The current implementation is a time consumer, to be re-write.]</red></p>
</div>
</div>
