# C1.C1Preview.RenderPie

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderPie" data-uid="C1.C1Preview.RenderPie" class="text-break">RenderPie Class
</h1>
  <div class="markdown level0 summary"><p>Represents a pie shape (a closed shape consisting of an arc of an ellipse,
with lines going from the start and end points of the arc to the ellipse's center)
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.RenderRectangle.html">RenderRectangle</a></div>
    <div class="level4"><a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a></div>
    <div class="level5"><span class="xref">RenderPie</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.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_RenderPie_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderPie : RenderEllipse, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderPie
    Inherits RenderEllipse
    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_RenderPie__ctor" data-uid="C1.C1Preview.RenderPie.#ctor">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor">RenderPie()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class.
The start angle of the pie is set to 0, while the sweep angle is set to 360 degrees,
thus making it a complete ellipse.
The location and size of the ellipse are set to those of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_">RenderPie(Unit, Unit, Unit, Unit, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the location, size, and start and sweep angles of the pie shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_">RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the location, size, start and sweep angles of the pie shape,
and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Brush_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Drawing.Brush)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Brush_">RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef, Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the location, size, start and sweep angles of the pie shape,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape, and the fill brush.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Color_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Drawing.Color)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Color_">RenderPie(Unit, Unit, Unit, Unit, float, float, LineDef, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the location, size, start and sweep angles of the pie shape,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape, and the fill color.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_">RenderPie(Unit, Unit, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the width, height, and start and sweep angles of the pie shape.
The location of the shape is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_">RenderPie(Unit, Unit, float, float, LineDef)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the width, height, start and sweep angles of the pie shape,
and the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape.
The location of the shape is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Brush_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Drawing.Brush)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Brush_">RenderPie(Unit, Unit, float, float, LineDef, Brush)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the width, height, start and sweep angles of the pie shape,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape, and the fill brush.
The location of the shape is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Color_" data-uid="C1.C1Preview.RenderPie.#ctor(C1.C1Preview.Unit,C1.C1Preview.Unit,System.Single,System.Single,C1.C1Preview.LineDef,System.Drawing.Color)">
          <a class="xref" href="C1.C1Preview.RenderPie.-ctor.html#C1_C1Preview_RenderPie__ctor_C1_C1Preview_Unit_C1_C1Preview_Unit_System_Single_System_Single_C1_C1Preview_LineDef_System_Drawing_Color_">RenderPie(Unit, Unit, float, float, LineDef, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> class,
assigning the width, height, start and sweep angles of the pie shape,
the <a class="xref" href="C1.C1Preview.LineDef.html">LineDef</a> used to draw the shape, and the fill color.
The location of the shape is set to the location of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a>.</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_RenderPie_Pie" data-uid="C1.C1Preview.RenderPie.Pie">
          <a class="xref" href="C1.C1Preview.RenderPie.Pie.html#C1_C1Preview_RenderPie_Pie">Pie</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.EllipsePartProps.html">EllipsePartProps</a> object describing the pie shape
represented by the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> object.
The coordinates of the ellipse containing the pie shape are relative to the left top corner
of the current <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</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_RenderPie_CreateSame" data-uid="C1.C1Preview.RenderPie.CreateSame">
          <a class="xref" href="C1.C1Preview.RenderPie.CreateSame.html#C1_C1Preview_RenderPie_CreateSame">CreateSame()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates new empty <a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a> object
linked with same <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</a> as current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
