# C1.C1Preview.RenderShapeBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderShapeBase" data-uid="C1.C1Preview.RenderShapeBase" class="text-break">RenderShapeBase Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for classes representing geometric shapes (lines, polygons and so on)
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"><span class="xref">RenderShapeBase</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderLineBase.html">RenderLineBase</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderRectangle.html">RenderRectangle</a></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_RenderShapeBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RenderShapeBase : RenderObject, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RenderShapeBase
    Inherits RenderObject
    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_RenderShapeBase__ctor" data-uid="C1.C1Preview.RenderShapeBase.#ctor">
          <a class="xref" href="C1.C1Preview.RenderShapeBase.-ctor.html#C1_C1Preview_RenderShapeBase__ctor">RenderShapeBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</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_RenderShapeBase_Shape" data-uid="C1.C1Preview.RenderShapeBase.Shape">
          <a class="xref" href="C1.C1Preview.RenderShapeBase.Shape.html#C1_C1Preview_RenderShapeBase_Shape">Shape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.ShapeProps.html">ShapeProps</a> object describing the geometric shape
represented by the current <a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</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_RenderShapeBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderShapeBase.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderShapeBase.AssignFrom.html#C1_C1Preview_RenderShapeBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</a>, also copies <a class="xref" href="C1.C1Preview.RenderShapeBase.html">RenderShapeBase</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderShapeBase_DrawShape_System_Drawing_Graphics_System_Drawing_Rectangle_C1_C1Preview_RenderShapeBase_ShapeParams_C1_C1Preview_PageDrawParams_" data-uid="C1.C1Preview.RenderShapeBase.DrawShape(System.Drawing.Graphics,System.Drawing.Rectangle,C1.C1Preview.RenderShapeBase.ShapeParams,C1.C1Preview.PageDrawParams)">
          <a class="xref" href="C1.C1Preview.RenderShapeBase.DrawShape.html#C1_C1Preview_RenderShapeBase_DrawShape_System_Drawing_Graphics_System_Drawing_Rectangle_C1_C1Preview_RenderShapeBase_ShapeParams_C1_C1Preview_PageDrawParams_">DrawShape(Graphics, Rectangle, ShapeParams, PageDrawParams)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.RenderLineBase.html">RenderLineBase</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderLine.html">RenderLine</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderPolygon.html">RenderPolygon</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderRectangle.html">RenderRectangle</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderEllipse.html">RenderEllipse</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderPie.html">RenderPie</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderArc.html">RenderArc</a></div>
      <div><a class="xref" href="C1.C1Preview.RenderRoundRectangle.html">RenderRoundRectangle</a></div>
  </div>

</div>
