# GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor*">CharBoxBorder Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor">CharBoxBorder()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">CharBoxBorder</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CharBoxBorder()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_GrapeCity_Win_Spread_InputMan_CellType_Line_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor(GrapeCity.Win.Spread.InputMan.CellType.Line)">CharBoxBorder(Line)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">CharBoxBorder</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CharBoxBorder(Line all)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(all As Line)</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="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">all</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> indicates all border lines.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_System_Drawing_Color_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor(System.Drawing.Color,GrapeCity.Win.Spread.InputMan.CellType.LineStyle)">CharBoxBorder(Color, LineStyle)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">CharBoxBorder</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CharBoxBorder(Color lineColor, LineStyle lineStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(lineColor As Color, lineStyle As LineStyle)</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">lineColor</span></td>
      <td><p>The <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a> value indicates the color of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.LineStyle.html">LineStyle</a></td>
      <td><span class="parametername">lineStyle</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.LineStyle.html">LineStyle</a> value indicates the line style.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorder__ctor_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_GrapeCity_Win_Spread_InputMan_CellType_Line_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.#ctor(GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line,GrapeCity.Win.Spread.InputMan.CellType.Line)">CharBoxBorder(Line, Line, Line, Line)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorder.html">CharBoxBorder</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CharBoxBorder(Line left, Line top, Line right, Line bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(left As Line, top As Line, right As Line, bottom As Line)</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="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> indicates the left border line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> indicates the top border line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> indicates the right border line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> indicates the bottom border line.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
