# C1.Util.DX.Direct2D.SimplifiedGeometrySink.AddLines

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_AddLines_" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.AddLines*">AddLines Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_AddLines_" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.AddLines*"></a>
<h4 id="C1_Util_DX_Direct2D_SimplifiedGeometrySink_AddLines_C1_Util_DX_Point2F___" data-uid="C1.Util.DX.Direct2D.SimplifiedGeometrySink.AddLines(C1.Util.DX.Point2F[])">AddLines(Point2F[])</h4>
<div class="markdown level1 summary"><p>Creates a sequence of lines using the specified points and adds them 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">void AddLines(Point2F[] pointsRef)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub AddLines(pointsRef As Point2F())</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="C1.Util.DX.Point2F.html">Point2F</a>[]</td>
      <td><span class="parametername">pointsRef</span></td>
      <td><p>A pointer to an array of one or more points that describe the lines to draw. A line is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by {{BeginFigure}}) to the first point in the array. if the array contains additional points, a line is drawn from the first point to the second point in the array, from the second point to the third point, and so on.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
