# FarPoint.Win.Spread.DrawingSpace.LineShape.SizeRegion

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_LineShape_SizeRegion_" data-uid="FarPoint.Win.Spread.DrawingSpace.LineShape.SizeRegion*">SizeRegion Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_LineShape_SizeRegion_" data-uid="FarPoint.Win.Spread.DrawingSpace.LineShape.SizeRegion*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_LineShape_SizeRegion_System_Single_System_Single_System_Single_System_Single_" data-uid="FarPoint.Win.Spread.DrawingSpace.LineShape.SizeRegion(System.Single,System.Single,System.Single,System.Single)">SizeRegion(float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Resizes the region.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected override void SizeRegion(float newWidth, float newHeight, float oldWidth, float oldHeight)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub SizeRegion(newWidth As Single, newHeight As Single, oldWidth As Single, oldHeight 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">newWidth</span></td>
      <td><p>New width value in pixels</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">newHeight</span></td>
      <td><p>New height value in pixels</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">oldWidth</span></td>
      <td><p>Old width value in pixels</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">oldHeight</span></td>
      <td><p>Old height value in pixels</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.PSObject.SizeRegion.html#FarPoint_Win_Spread_DrawingSpace_PSObject_SizeRegion_System_Single_System_Single_System_Single_System_Single_">PSObject.SizeRegion(float, float, float, float)</a></div>
</div>
