# GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.AddLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_AddLine_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.AddLine*">AddLine Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_AddLine_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.AddLine*"></a>
<h4 id="GrapeCity_Documents_Imaging_GcBitmapGraphics_Path_AddLine_System_Drawing_PointF_" data-uid="GrapeCity.Documents.Imaging.GcBitmapGraphics.Path.AddLine(System.Drawing.PointF)">AddLine(PointF)</h4>
<div class="markdown level1 summary"><p>Creates a line segment between the current point and the specified end point and adds it to the geometry sink.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddLine(PointF pointTo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddLine(pointTo As PointF)</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.pointf">PointF</a></td>
      <td><span class="parametername">pointTo</span></td>
      <td><p>The end point of the line to draw.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Drawing.IPath.AddLine.html#GrapeCity_Documents_Drawing_IPath_AddLine_System_Drawing_PointF_">IPath.AddLine(PointF)</a></div>
</div>
