# C1.Document.PolygonShape

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_PolygonShape" data-uid="C1.Document.PolygonShape" class="text-break">PolygonShape Class
</h1>
  <div class="markdown level0 summary"><p>Represents a polygon shape in C1FlexReport.</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="C1.Document.ShapeBase.html">ShapeBase</a></div>
    <div class="level2"><a class="xref" href="C1.Document.TriangleShapeBase.html">TriangleShapeBase</a></div>
    <div class="level3"><span class="xref">PolygonShape</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.inotifypropertychanged">INotifyPropertyChanged</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_PolygonShape_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PolygonShape : TriangleShapeBase, INotifyPropertyChanged, ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PolygonShape
    Inherits TriangleShapeBase
    Implements INotifyPropertyChanged, ICloneable</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="C1_Document_PolygonShape__ctor" data-uid="C1.Document.PolygonShape.#ctor">
          <a class="xref" href="C1.Document.PolygonShape.-ctor.html#C1_Document_PolygonShape__ctor">PolygonShape()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_PolygonShape_EditMode" data-uid="C1.Document.PolygonShape.EditMode">
          <a class="xref" href="C1.Document.PolygonShape.EditMode.html#C1_Document_PolygonShape_EditMode">EditMode</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies how the polygon will stretch when the field rectangle is resized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_PolygonShape_Points" data-uid="C1.Document.PolygonShape.Points">
          <a class="xref" href="C1.Document.PolygonShape.Points.html#C1_Document_PolygonShape_Points">Points</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the vertices of the polygon.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_PolygonShape_ShapeType" data-uid="C1.Document.PolygonShape.ShapeType">
          <a class="xref" href="C1.Document.PolygonShape.ShapeType.html#C1_Document_PolygonShape_ShapeType">ShapeType</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden. Gets <a class="xref" href="C1.Document.ShapeType.html#C1_Document_ShapeType_Polygon">Polygon</a>.</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="C1_Document_PolygonShape_AssignFrom_C1_Document_ShapeBase_" data-uid="C1.Document.PolygonShape.AssignFrom(C1.Document.ShapeBase)">
          <a class="xref" href="C1.Document.PolygonShape.AssignFrom.html#C1_Document_PolygonShape_AssignFrom_C1_Document_ShapeBase_">AssignFrom(ShapeBase)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.Document.ShapeBase.html">ShapeBase</a> to the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
