# C1.C1Preview.RoundRectangleProps

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RoundRectangleProps" data-uid="C1.C1Preview.RoundRectangleProps" class="text-break">RoundRectangleProps Class
</h1>
  <div class="markdown level0 summary"><p>Represents the geometric properties of a rectangle with rounded corners.
Used by the <a class="xref" href="C1.C1Preview.RenderRoundRectangle.html">RenderRoundRectangle</a> class.</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.ShapeProps.html">ShapeProps</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.RectangleProps.html">RectangleProps</a></div>
    <div class="level3"><span class="xref">RoundRectangleProps</span></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_RoundRectangleProps_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RoundRectangleProps : RectangleProps</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RoundRectangleProps
    Inherits RectangleProps</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_RoundRectangleProps__ctor" data-uid="C1.C1Preview.RoundRectangleProps.#ctor">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.-ctor.html#C1_C1Preview_RoundRectangleProps__ctor">RoundRectangleProps()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RoundRectangleProps.html">RoundRectangleProps</a> class.
The location and size of the rectangle are set to those of the containing
<a class="xref" href="C1.C1Preview.RenderRoundRectangle.html">RenderRoundRectangle</a> object.
The dimensions of the ellipse used to draw the rounded corners are set
to <b>5%</b> of the corresponding rectangle's dimensions.</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_RoundRectangleProps_EllipseHeight" data-uid="C1.C1Preview.RoundRectangleProps.EllipseHeight">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.EllipseHeight.html#C1_C1Preview_RoundRectangleProps_EllipseHeight">EllipseHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the ellipse used to draw the rounded corners of the rectangle.
The default value of this property is calculated as <b>5%</b> of the height of the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RoundRectangleProps_EllipseWidth" data-uid="C1.C1Preview.RoundRectangleProps.EllipseWidth">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.EllipseWidth.html#C1_C1Preview_RoundRectangleProps_EllipseWidth">EllipseWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the ellipse used to draw the rounded corners of the rectangle.
The default value of this property is calculated as <b>5%</b> of the width of the rectangle.</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_RoundRectangleProps_AssignFrom_C1_C1Preview_ShapeProps_" data-uid="C1.C1Preview.RoundRectangleProps.AssignFrom(C1.C1Preview.ShapeProps)">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.AssignFrom.html#C1_C1Preview_RoundRectangleProps_AssignFrom_C1_C1Preview_ShapeProps_">AssignFrom(ShapeProps)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.ShapeProps.html">ShapeProps</a> to the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RoundRectangleProps_ShouldSerializeEllipseHeight" data-uid="C1.C1Preview.RoundRectangleProps.ShouldSerializeEllipseHeight">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.ShouldSerializeEllipseHeight.html#C1_C1Preview_RoundRectangleProps_ShouldSerializeEllipseHeight">ShouldSerializeEllipseHeight()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.RoundRectangleProps.EllipseHeight.html#C1_C1Preview_RoundRectangleProps_EllipseHeight">EllipseHeight</a> property should be serialized.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RoundRectangleProps_ShouldSerializeEllipseWidth" data-uid="C1.C1Preview.RoundRectangleProps.ShouldSerializeEllipseWidth">
          <a class="xref" href="C1.C1Preview.RoundRectangleProps.ShouldSerializeEllipseWidth.html#C1_C1Preview_RoundRectangleProps_ShouldSerializeEllipseWidth">ShouldSerializeEllipseWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.RoundRectangleProps.EllipseWidth.html#C1_C1Preview_RoundRectangleProps_EllipseWidth">EllipseWidth</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
