# FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Rotate_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate*">Rotate Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_PSObject_Rotate_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Rotate_System_Single_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate(System.Single)">Rotate(float)</h4>
<div class="markdown level1 summary"><p>Rotates the object by the specified angle around the center of the object.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Rotate(float angle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Rotate(angle 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">angle</span></td>
      <td><p>Angle to rotate the object</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_DrawingSpace_PSObject_Rotate_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSObject_Rotate_System_Drawing_Point_System_Single_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.Rotate(System.Drawing.Point,System.Single)">Rotate(Point, float)</h4>
<div class="markdown level1 summary"><p>Rotates the object by the specified angle around the specified point.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual void Rotate(Point rotationCenterPoint, float angle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Sub Rotate(rotationCenterPoint As Point, angle 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.drawing.point">Point</a></td>
      <td><span class="parametername">rotationCenterPoint</span></td>
      <td><p>Point around which to rotate the 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">angle</span></td>
      <td><p>Angle to rotate the object</p>
</td>
    </tr>
  </tbody>
</table>
</div>
