# GrapeCity.ActiveReports.Drawing.PathEx.AddLine

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Drawing_PathEx_AddLine_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLine*">AddLine Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Drawing_PathEx_AddLine_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLine*"></a>
<h4 id="GrapeCity_ActiveReports_Drawing_PathEx_AddLine_System_Numerics_Vector2_System_Numerics_Vector2_" data-uid="GrapeCity.ActiveReports.Drawing.PathEx.AddLine(System.Numerics.Vector2,System.Numerics.Vector2)">AddLine(Vector2, Vector2)</h4>
<div class="markdown level1 summary"><p>Adds line from point to point.</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(Vector2 point1, Vector2 point2)</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.numerics.vector2">Vector2</a></td>
      <td><span class="parametername">point1</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.vector2">Vector2</a></td>
      <td><span class="parametername">point2</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
