# FarPoint.Win.ComplexBorderFactory.CreateComplexBorder

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_ComplexBorderFactory_CreateComplexBorder_" data-uid="FarPoint.Win.ComplexBorderFactory.CreateComplexBorder*">CreateComplexBorder Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_ComplexBorderFactory_CreateComplexBorder_" data-uid="FarPoint.Win.ComplexBorderFactory.CreateComplexBorder*"></a>
<h4 id="FarPoint_Win_ComplexBorderFactory_CreateComplexBorder_FarPoint_Win_ComplexBorderSide_" data-uid="FarPoint.Win.ComplexBorderFactory.CreateComplexBorder(FarPoint.Win.ComplexBorderSide)">CreateComplexBorder(ComplexBorderSide)</h4>
<div class="markdown level1 summary"><p>Creates a complex border with the specified complex border side
used for all four sides.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ComplexBorder CreateComplexBorder(ComplexBorderSide sides)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateComplexBorder(sides As ComplexBorderSide) As ComplexBorder</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="FarPoint.Win.ComplexBorderSide.html">ComplexBorderSide</a></td>
      <td><span class="parametername">sides</span></td>
      <td><p>Complex border side (ComplexBorderSide object) to use for all four sides</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.ComplexBorder.html">ComplexBorder</a></td>
      <td><p>Complex border (ComplexBorder object) with the parameter specified</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_ComplexBorderFactory_CreateComplexBorder_" data-uid="FarPoint.Win.ComplexBorderFactory.CreateComplexBorder*"></a>
<h4 id="FarPoint_Win_ComplexBorderFactory_CreateComplexBorder_FarPoint_Win_ComplexBorderSide_FarPoint_Win_ComplexBorderSide_FarPoint_Win_ComplexBorderSide_FarPoint_Win_ComplexBorderSide_" data-uid="FarPoint.Win.ComplexBorderFactory.CreateComplexBorder(FarPoint.Win.ComplexBorderSide,FarPoint.Win.ComplexBorderSide,FarPoint.Win.ComplexBorderSide,FarPoint.Win.ComplexBorderSide)">CreateComplexBorder(ComplexBorderSide, ComplexBorderSide, ComplexBorderSide, ComplexBorderSide)</h4>
<div class="markdown level1 summary"><p>Creates a complex border with the specified complex border sides for each side.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ComplexBorder CreateComplexBorder(ComplexBorderSide left, ComplexBorderSide top, ComplexBorderSide right, ComplexBorderSide bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function CreateComplexBorder(left As ComplexBorderSide, top As ComplexBorderSide, right As ComplexBorderSide, bottom As ComplexBorderSide) As ComplexBorder</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="FarPoint.Win.ComplexBorderSide.html">ComplexBorderSide</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>Complex border side (ComplexBorderSide object) to use for the left side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.ComplexBorderSide.html">ComplexBorderSide</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>Complex border side (ComplexBorderSide object) to use for the top side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.ComplexBorderSide.html">ComplexBorderSide</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>Complex border side (ComplexBorderSide object) to use for the right side</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Win.ComplexBorderSide.html">ComplexBorderSide</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>Complex border side (ComplexBorderSide object) to use for the bottom side</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.ComplexBorder.html">ComplexBorder</a></td>
      <td><p>Complex border (ComplexBorder object) with the parameters specified</p>
</td>
    </tr>
  </tbody>
</table>
</div>
