# GrapeCity.SpreadBuilder.Imaging.LineInfo.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_SpreadBuilder_Imaging_LineInfo__ctor_" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.#ctor*">LineInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_SpreadBuilder_Imaging_LineInfo__ctor_" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.#ctor*"></a>
<h4 id="GrapeCity_SpreadBuilder_Imaging_LineInfo__ctor_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_GrapeCity_SpreadBuilder_Imaging_ObjectDirection_System_Int32_GrapeCity_SpreadBuilder_Imaging_LineStyles_System_Drawing_Color_System_Boolean_GrapeCity_SpreadBuilder_Imaging_SBFloatingMoveType_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadStyles_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadWidths_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadLengths_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadStyles_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadWidths_GrapeCity_SpreadBuilder_Imaging_LineArrowHeadLengths_" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.#ctor(System.Int32,System.Int16,System.Int32,System.Int16,System.Int32,System.Int16,System.Int32,System.Int16,GrapeCity.SpreadBuilder.Imaging.ObjectDirection,System.Int32,GrapeCity.SpreadBuilder.Imaging.LineStyles,System.Drawing.Color,System.Boolean,GrapeCity.SpreadBuilder.Imaging.SBFloatingMoveType,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadStyles,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadWidths,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadLengths,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadStyles,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadWidths,GrapeCity.SpreadBuilder.Imaging.LineArrowHeadLengths)">LineInfo(int, short, int, short, int, short, int, short, ObjectDirection, int, LineStyles, Color, bool, SBFloatingMoveType, LineArrowHeadStyles, LineArrowHeadWidths, LineArrowHeadLengths, LineArrowHeadStyles, LineArrowHeadWidths, LineArrowHeadLengths)</h4>
<div class="markdown level1 summary"><p>Create a LineInfo class with setting all the fields and properties.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LineInfo(int columnLeft, short dxL, int rowTop, short dyT, int columnRight, short dxR, int rowBottom, short dyB, ObjectDirection iQu, int weight, LineStyles style, Color netColor, bool fAuto, SBFloatingMoveType MoveType, LineArrowHeadStyles StartAHStyle, LineArrowHeadWidths StartAHWidth, LineArrowHeadLengths StartAHLength, LineArrowHeadStyles EndAHStyle, LineArrowHeadWidths EndAHWidth, LineArrowHeadLengths EndAHLength)</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.int32">int</a></td>
      <td><span class="parametername">columnLeft</span></td>
      <td><p>The one-based column containing the upper-left corner of the line's bounding rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
      <td><span class="parametername">dxL</span></td>
      <td><p>The X (horizontal) position of the upper-left corner of the object's bounding rectangle, relative to the left side of the underlying cell (specified in colL), expressed as 1/1024th of the cell width.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowTop</span></td>
      <td><p>The one-based row containing the upper-left corner of the line's bounding rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
      <td><span class="parametername">dyT</span></td>
      <td><p>The Y (vertical) position of the upper-left corner of the object's bounding rectangle, relative to the top of the underlying cell, expressed as 1/1024th of the cell height.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnRight</span></td>
      <td><p>The one-based column containing the lower right corner of the line's bounding rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
      <td><span class="parametername">dxR</span></td>
      <td><p>The X (horizontal) position of the lower right corner of the object's bounding rectangle, relative to the left side of the underlying cell, expressed as 1/1024th of the cell width.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowBottom</span></td>
      <td><p>The one-based row containing the lower right corner of the line's bounding rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int16">short</a></td>
      <td><span class="parametername">dyB</span></td>
      <td><p>The Y (vertical) position of the lower right corner of the object's bounding rectangle, relative to the top of the underlying cell, expressed as 1/1024th of the cell height.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.ObjectDirection.html">ObjectDirection</a></td>
      <td><span class="parametername">iQu</span></td>
      <td><p>The direction of the line.  Use GrapeCity.SpreadBuilder.Escher.LineDirections constants to define the &quot;quadrant index.&quot;</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">weight</span></td>
      <td><p>The thickness of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineStyles.html">LineStyles</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The style of the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.color">Color</a></td>
      <td><span class="parametername">netColor</span></td>
      <td><p>The System.Drawing.Color for the line.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fAuto</span></td>
      <td><p>Excel automatic border option.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.SBFloatingMoveType.html">SBFloatingMoveType</a></td>
      <td><span class="parametername">MoveType</span></td>
      <td><p>The options users will have for moving or resizing the line in the spreadsheet.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadStyles.html">LineArrowHeadStyles</a></td>
      <td><span class="parametername">StartAHStyle</span></td>
      <td><p>The style of the starting arrowhead.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadWidths.html">LineArrowHeadWidths</a></td>
      <td><span class="parametername">StartAHWidth</span></td>
      <td><p>The width of the starting arrowhead.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadLengths.html">LineArrowHeadLengths</a></td>
      <td><span class="parametername">StartAHLength</span></td>
      <td><p>The length of the starting arrowhead.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadStyles.html">LineArrowHeadStyles</a></td>
      <td><span class="parametername">EndAHStyle</span></td>
      <td><p>The style of the ending arrowhead.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadWidths.html">LineArrowHeadWidths</a></td>
      <td><span class="parametername">EndAHWidth</span></td>
      <td><p>The width of the ending arrowhead.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.SpreadBuilder.Imaging.LineArrowHeadLengths.html">LineArrowHeadLengths</a></td>
      <td><span class="parametername">EndAHLength</span></td>
      <td><p>The length of the ending arrowhead.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_SpreadBuilder_Imaging_LineInfo__ctor_" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.#ctor*"></a>
<h4 id="GrapeCity_SpreadBuilder_Imaging_LineInfo__ctor" data-uid="GrapeCity.SpreadBuilder.Imaging.LineInfo.#ctor">LineInfo()</h4>
<div class="markdown level1 summary"><p>The default constructor for the LineInfo class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public LineInfo()</code></pre>
</div>
</div>
