# C1.Pdf.C1PdfDocument.FillStroke

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Pdf_C1PdfDocument_FillStroke_" data-uid="C1.Pdf.C1PdfDocument.FillStroke*">FillStroke Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Pdf_C1PdfDocument_FillStroke_" data-uid="C1.Pdf.C1PdfDocument.FillStroke*"></a>
<h4 id="C1_Pdf_C1PdfDocument_FillStroke_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.Pdf.C1PdfDocument.FillStroke(System.Boolean,System.Boolean,System.Boolean,System.Boolean)">FillStroke(bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Fill or/and stroke the path figure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillStroke(bool close, bool fill, bool stroke, bool clip = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillStroke(close As Boolean, fill As Boolean, stroke As Boolean, Optional clip As Boolean = False)</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">close</span></td>
      <td><p>The closed figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fill</span></td>
      <td><p>The filled figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">stroke</span></td>
      <td><p>The stroked figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">clip</span></td>
      <td><p>THe clipped figure.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Pdf_C1PdfDocument_FillStroke_" data-uid="C1.Pdf.C1PdfDocument.FillStroke*"></a>
<h4 id="C1_Pdf_C1PdfDocument_FillStroke_System_Boolean_System_Boolean_System_Boolean_GrapeCity_Documents_Drawing_FillMode_System_Boolean_" data-uid="C1.Pdf.C1PdfDocument.FillStroke(System.Boolean,System.Boolean,System.Boolean,GrapeCity.Documents.Drawing.FillMode,System.Boolean)">FillStroke(bool, bool, bool, FillMode, bool)</h4>
<div class="markdown level1 summary"><p>Fill or/and stroke the path figure.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void FillStroke(bool close, bool fill, bool stroke, FillMode mode, bool clip = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub FillStroke(close As Boolean, fill As Boolean, stroke As Boolean, mode As FillMode, Optional clip As Boolean = False)</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">close</span></td>
      <td><p>The closed figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fill</span></td>
      <td><p>The filled figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">stroke</span></td>
      <td><p>The stroked figure.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">FillMode</span></td>
      <td><span class="parametername">mode</span></td>
      <td><p>The fill mode for the figure.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">clip</span></td>
      <td><p>THe clipped figure.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
