# C1.C1Pdf.C1PdfDocument.DrawBeziers

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Pdf_C1PdfDocument_DrawBeziers_" data-uid="C1.C1Pdf.C1PdfDocument.DrawBeziers*">DrawBeziers Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Pdf_C1PdfDocument_DrawBeziers_" data-uid="C1.C1Pdf.C1PdfDocument.DrawBeziers*"></a>
<h4 id="C1_C1Pdf_C1PdfDocument_DrawBeziers_System_Drawing_Pen_System_Drawing_PointF___" data-uid="C1.C1Pdf.C1PdfDocument.DrawBeziers(System.Drawing.Pen,System.Drawing.PointF[])">DrawBeziers(Pen, PointF[])</h4>
<div class="markdown level1 summary"><p>Draws a series of Bezier splines from an array of point structures.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void DrawBeziers(Pen pen, PointF[] points)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub DrawBeziers(pen As Pen, points 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.pen">Pen</a></td>
      <td><span class="parametername">pen</span></td>
      <td><p>A pen object that determines the color, width, and style of the Bezier splines.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.pointf">PointF</a>[]</td>
      <td><span class="parametername">points</span></td>
      <td><p>Array of point structures that represent the points that determine the curve.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_C1Pdf_C1PdfDocument_DrawBeziers_System_Drawing_Pen_System_Drawing_PointF____remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The first spline requires four points, and each additional spline requires
three additional points (it starts from the last point in the previous spline). 
Therefore, the <code class="paramref">points</code> array must contain at least four points,
and the total length minus one must be a multiple of three.</p>
<p>All coordinates are expressed in points, measured from the upper-left corner of the page.</p>
</div>
</div>
