# C1.Util.XLPath.AddRoundRect

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_XLPath_AddRoundRect_" data-uid="C1.Util.XLPath.AddRoundRect*">AddRoundRect Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_XLPath_AddRoundRect_" data-uid="C1.Util.XLPath.AddRoundRect*"></a>
<h4 id="C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Drawing_SizeF_" data-uid="C1.Util.XLPath.AddRoundRect(System.Drawing.RectangleF,System.Drawing.SizeF)">AddRoundRect(RectangleF, SizeF)</h4>
<div class="markdown level1 summary"><p>Adds the round rectangle figure for this path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddRoundRect(RectangleF rc, SizeF sz)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddRoundRect(rc As RectangleF, sz As SizeF)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>The rectangle that represents the round rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.sizef">SizeF</a></td>
      <td><span class="parametername">sz</span></td>
      <td><p>The round size.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Util_XLPath_AddRoundRect_" data-uid="C1.Util.XLPath.AddRoundRect*"></a>
<h4 id="C1_Util_XLPath_AddRoundRect_System_Drawing_RectangleF_System_Single_System_Single_System_Single_System_Single_" data-uid="C1.Util.XLPath.AddRoundRect(System.Drawing.RectangleF,System.Single,System.Single,System.Single,System.Single)">AddRoundRect(RectangleF, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Adds the round rectangle figure for this path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddRoundRect(RectangleF rc, float left, float top, float right, float bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddRoundRect(rc As RectangleF, left As Single, top As Single, right As Single, bottom As Single)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a></td>
      <td><span class="parametername">rc</span></td>
      <td><p>The rectangle that represents the round rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The round left indent.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The round top indent.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>The round right indent.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>The round bottom indent.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
