# FarPoint.Win.Spread.DrawingSpace.PSObject.GetRotateAngle

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_DrawingSpace_PSObject_GetRotateAngle_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.GetRotateAngle*">GetRotateAngle Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_DrawingSpace_PSObject_GetRotateAngle_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.GetRotateAngle*"></a>
<h4 id="FarPoint_Win_Spread_DrawingSpace_PSObject_GetRotateAngle_System_Drawing_Point_System_Drawing_Point_System_Drawing_Point_" data-uid="FarPoint.Win.Spread.DrawingSpace.PSObject.GetRotateAngle(System.Drawing.Point,System.Drawing.Point,System.Drawing.Point)">GetRotateAngle(Point, Point, Point)</h4>
<div class="markdown level1 summary"><p>Gets the rotate angle.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual float GetRotateAngle(Point centerPt, Point pt1, Point pt2)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetRotateAngle(centerPt As Point, pt1 As Point, pt2 As Point) 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">centerPt</span></td>
      <td><p>Point that contains the basepoint of rotation</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">pt1</span></td>
      <td><p>Point that contains the first end point</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.point">Point</a></td>
      <td><span class="parametername">pt2</span></td>
      <td><p>Point that contains the second end point</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</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><p>The rotate angle.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
