# C1.C1Preview.RenderPolygon

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderPolygon" data-uid="C1.C1Preview.RenderPolygon" class="text-break">RenderPolygon Class
</h1>
  <div class="markdown level0 summary"><p>Represents an open or closed polygon shape in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a>.</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.C1Preview.RenderObject.html">RenderObject</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.RenderLineBase.html">RenderLineBase</a></div>
    <div class="level4"><span class="xref">RenderPolygon</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_RenderPolygon_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderPolygon : RenderLineBase, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderPolygon
    Inherits RenderLineBase
    Implements IStyleOwner, IDocumentLocation</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_C1Preview_RenderPolygon__ctor" data-uid="C1.C1Preview.RenderPolygon.#ctor">
          <a class="xref" href="C1.C1Preview.RenderPolygon.-ctor.html#C1_C1Preview_RenderPolygon__ctor">RenderPolygon()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPolygon.html">RenderPolygon</a> class.</p>
</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_C1Preview_RenderPolygon_Line" data-uid="C1.C1Preview.RenderPolygon.Line">
          <a class="xref" href="C1.C1Preview.RenderPolygon.Line.html#C1_C1Preview_RenderPolygon_Line">Line</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.PolygonProps.html">PolygonProps</a> object describing the geometric polygon
represented by the current <a class="xref" href="C1.C1Preview.RenderPolygon.html">RenderPolygon</a> object.
The points' coordinates are relative to the left top corner
of the current <a class="xref" href="C1.C1Preview.RenderPolygon.html">RenderPolygon</a> object.</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_C1Preview_RenderPolygon_CreateProps" data-uid="C1.C1Preview.RenderPolygon.CreateProps">
          <a class="xref" href="C1.C1Preview.RenderPolygon.CreateProps.html#C1_C1Preview_RenderPolygon_CreateProps">CreateProps()</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPolygon_CreateSame" data-uid="C1.C1Preview.RenderPolygon.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderPolygon.CreateSame.html#C1_C1Preview_RenderPolygon_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderPolygon.html">RenderPolygon</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
