# FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape.SetBoundsFloat

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_SpreadCameraShape_SetBoundsFloat_" data-uid="FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape.SetBoundsFloat*">SetBoundsFloat Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_SpreadCameraShape_SetBoundsFloat_" data-uid="FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape.SetBoundsFloat*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_SpreadCameraShape_SetBoundsFloat_System_Single_System_Single_System_Single_System_Single_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.Spread.DrawingSpace.SpreadCameraShape.SetBoundsFloat(System.Single,System.Single,System.Single,System.Single,System.Boolean,System.Boolean)">SetBoundsFloat(float, float, float, float, bool, bool)</h4>
<div class="markdown level1 summary"><p>Sets the bounds of the object to the specified position and size.</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 SetBoundsFloat(float x, float y, float width, float height, bool adjustRegion, bool recursive)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overrides Sub SetBoundsFloat(x As Single, y As Single, width As Single, height As Single, adjustRegion As Boolean, recursive As Boolean)</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">x</span></td>
      <td><p>X-coordinate for bounding rectangle's top-left corner</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>Y-coordinate for bounding rectangle's top-left corner</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>Width of bounding rectangle 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">height</span></td>
      <td><p>Height of bounding rectangle in pixels</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">adjustRegion</span></td>
      <td><p>Whether to adjust the region</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">recursive</span></td>
      <td><p>Whether to check recursively for each element</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.PSObject.SetBoundsFloat.html#FarPoint_Win_Spread_DrawingSpace_PSObject_SetBoundsFloat_System_Single_System_Single_System_Single_System_Single_System_Boolean_System_Boolean_">PSObject.SetBoundsFloat(float, float, float, float, bool, bool)</a></div>
</div>
