# FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder*">CreateRoundedLineBorder Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder*"></a>
<h4 id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_System_Drawing_Color_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder(System.Drawing.Color)">CreateRoundedLineBorder(Color)</h4>
<div class="markdown level1 summary"><p>Creates a rounded-edge, single-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 RoundedLineBorder CreateRoundedLineBorder(Color color)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateRoundedLineBorder(color As Color) As RoundedLineBorder</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 line</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.RoundedLineBorder.html">RoundedLineBorder</a></td>
      <td><p>a new instance of <a class="xref" href="FarPoint.Win.LineBorder.html">LineBorder</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder*"></a>
<h4 id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder(System.Drawing.Color,System.Int32)">CreateRoundedLineBorder(Color, int)</h4>
<div class="markdown level1 summary"><p>Creates a rounded-edge, single-line border with the specified color and thickness.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public RoundedLineBorder CreateRoundedLineBorder(Color color, int thickness)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateRoundedLineBorder(color As Color, thickness As Integer) As RoundedLineBorder</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 line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">thickness</span></td>
      <td><p>Thickness of the line in pixels</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.RoundedLineBorder.html">RoundedLineBorder</a></td>
      <td><p>a new instance of <a class="xref" href="FarPoint.Win.LineBorder.html">LineBorder</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder*"></a>
<h4 id="FarPoint_Win_RoundedLineBorderFactory_CreateRoundedLineBorder_System_Drawing_Color_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.RoundedLineBorderFactory.CreateRoundedLineBorder(System.Drawing.Color,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">CreateRoundedLineBorder(Color, int, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Creates a rounded-edge, single-line border with the specified color and thickness,
and specifies on which sides 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 RoundedLineBorder CreateRoundedLineBorder(Color color, int thickness, bool left, bool top, bool right, bool bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateRoundedLineBorder(color As Color, thickness As Integer, left As Boolean, top As Boolean, right As Boolean, bottom As Boolean) As RoundedLineBorder</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 line</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">thickness</span></td>
      <td><p>Thickness of the line in pixels</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 the line is drawn on the left side of the cell</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 the line is drawn on the top of the cell</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 the line is drawn on the right side of the cell</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 the line is drawn on the bottom of the cell</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.RoundedLineBorder.html">RoundedLineBorder</a></td>
      <td><p>a new instance of <a class="xref" href="FarPoint.Win.LineBorder.html">LineBorder</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
