# FarPoint.Win.Spread.DrawingSpace.RectangleShape

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_DrawingSpace_RectangleShape" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape" class="text-break">RectangleShape Class
</h1>
  <div class="markdown level0 summary"><p>Represents a rectangle shape object.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="../FarPoint.Win/FarPoint.Win.ElementWindowless.html">ElementWindowless</a></div>
    <div class="level2"><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.PSObject.html">PSObject</a></div>
    <div class="level3"><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.PSShape.html">PSShape</a></div>
    <div class="level4"><span class="xref">RectangleShape</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.ideserializationcallback">IDeserializationCallback</a></div>
    <div><a class="xref" href="FarPoint.Win.Spread.DrawingSpace.IPdfSupportPSObject.html">IPdfSupportPSObject</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.iserializable">ISerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.html">FarPoint.Win.Spread.DrawingSpace</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_DrawingSpace_RectangleShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RectangleShape : PSShape, ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RectangleShape
    Inherits PSShape
    Implements ISerializeSupport, IDeserializationCallback, IPdfSupportPSObject, ISerializable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.-ctor.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor">RectangleShape()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new rectangle shape.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor_FarPoint_Win_Spread_DrawingSpace_RectangleShape_" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.#ctor(FarPoint.Win.Spread.DrawingSpace.RectangleShape)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.-ctor.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor_FarPoint_Win_Spread_DrawingSpace_RectangleShape_">RectangleShape(RectangleShape)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new shape that is a copy of the specified shape.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.-ctor.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">RectangleShape(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new rectangle shape object from serialization.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape_Clone" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.Clone">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.Clone.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of this shape.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.GetObjectData(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.GetObjectData.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape_GetObjectData_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_">GetObjectData(SerializationInfo, StreamingContext)</a>
        </td>
        <td class="markdown level1 summary"><p>Serializes the shape object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_DrawingSpace_RectangleShape_SetInitialShape" data-uid="FarPoint.Win.Spread.DrawingSpace.RectangleShape.SetInitialShape">
          <a class="xref" href="FarPoint.Win.Spread.DrawingSpace.RectangleShape.SetInitialShape.html#FarPoint_Win_Spread_DrawingSpace_RectangleShape_SetInitialShape">SetInitialShape()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates the initial rectangle shape.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
