# GrapeCity.Documents.Svg.SvgPathBuilder.AddSmoothCurveTo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Svg_SvgPathBuilder_AddSmoothCurveTo_" data-uid="GrapeCity.Documents.Svg.SvgPathBuilder.AddSmoothCurveTo*">AddSmoothCurveTo Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Svg_SvgPathBuilder_AddSmoothCurveTo_" data-uid="GrapeCity.Documents.Svg.SvgPathBuilder.AddSmoothCurveTo*"></a>
<h4 id="GrapeCity_Documents_Svg_SvgPathBuilder_AddSmoothCurveTo_System_Boolean_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Svg.SvgPathBuilder.AddSmoothCurveTo(System.Boolean,System.Single,System.Single,System.Single,System.Single)">AddSmoothCurveTo(bool, float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Adds the &quot;smooth curveto&quot; command to the 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 AddSmoothCurveTo(bool relative, float x2, float y2, float x, float y)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddSmoothCurveTo(relative As Boolean, x2 As Single, y2 As Single, x As Single, y 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.boolean">bool</a></td>
      <td><span class="parametername">relative</span></td>
      <td><p>Indicates whether the command uses absolute (<a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>) or relative (<a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>) coordinates.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">x2</span></td>
      <td><p>The X-coordinate of the second control point.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">y2</span></td>
      <td><p>The Y-coordinate of the second control point.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The X-coordinate of the destination point.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The Y-coordinate of the destination point.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
