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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*">CharBoxBorderInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor">CharBoxBorderInfo()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.html">CharBoxBorderInfo</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 CharBoxBorderInfo()</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_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_GrapeCity_Win_Spread_InputMan_CellType_Line_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor(GrapeCity.Win.Spread.InputMan.CellType.Line)">CharBoxBorderInfo(Line)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.html">CharBoxBorderInfo</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 CharBoxBorderInfo(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_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_System_Drawing_Color_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor(System.Drawing.Color,GrapeCity.Win.Spread.InputMan.CellType.LineStyle)">CharBoxBorderInfo(Color, LineStyle)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.html">CharBoxBorderInfo</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 CharBoxBorderInfo(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_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__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.CharBoxBorderInfo.#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)">CharBoxBorderInfo(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.CharBoxBorderInfo.html">CharBoxBorderInfo</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 CharBoxBorderInfo(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>


<a id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_CharBoxBorderInfo__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.CharBoxBorderInfo.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">CharBoxBorderInfo(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of this class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected CharBoxBorderInfo(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</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.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>The information.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>The context.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
