# FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_DoubleLineBorderFactory_CreateDoubleLineBorder_" data-uid="FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder*">CreateDoubleLineBorder Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_DoubleLineBorderFactory_CreateDoubleLineBorder_" data-uid="FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder*"></a>
<h4 id="FarPoint_Win_DoubleLineBorderFactory_CreateDoubleLineBorder_System_Drawing_Color_" data-uid="FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder(System.Drawing.Color)">CreateDoubleLineBorder(Color)</h4>
<div class="markdown level1 summary"><p>Creates a double-line border with the specified color.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleLineBorder CreateDoubleLineBorder(Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateDoubleLineBorder(color As Color) As DoubleLineBorder</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.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>Color of the double lines</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.DoubleLineBorder.html">DoubleLineBorder</a></td>
      <td><p>Double-line border (DoubleLineBorder object) with the parameters specified</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_DoubleLineBorderFactory_CreateDoubleLineBorder_" data-uid="FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder*"></a>
<h4 id="FarPoint_Win_DoubleLineBorderFactory_CreateDoubleLineBorder_System_Drawing_Color_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.DoubleLineBorderFactory.CreateDoubleLineBorder(System.Drawing.Color,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">CreateDoubleLineBorder(Color, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a double-line border with the specified color and sides on which the border is drawn.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public DoubleLineBorder CreateDoubleLineBorder(Color color, bool left, bool top, bool right, bool bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateDoubleLineBorder(color As Color, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean) As DoubleLineBorder</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.color">Color</a></td>
      <td><span class="parametername">color</span></td>
      <td><p>Color of the double lines</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>Whether to draw the left side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>Whether to draw the top</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>Whether to draw the right side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>Whether to draw the bottom</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="FarPoint.Win.DoubleLineBorder.html">DoubleLineBorder</a></td>
      <td><p>Double-line border (DoubleLineBorder object) with the parameters specified</p>
</td>
    </tr>
  </tbody>
</table>
</div>
