# GrapeCity.Win.Spread.InputMan.CellType.Line

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_Line" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <b>Line</b> class that defines the appearance setting.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Line</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(LineConverter))]
public class Line : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(LineConverter))&gt;
Public Class Line
    Implements ICloneable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Line__ctor">Line()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line__ctor_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_System_Drawing_Color_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.#ctor(GrapeCity.Win.Spread.InputMan.CellType.LineStyle,System.Drawing.Color)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_Line__ctor_GrapeCity_Win_Spread_InputMan_CellType_LineStyle_System_Drawing_Color_">Line(LineStyle, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> class instance
with the specified attribute settings.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_Color" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.Color">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.Color.html#GrapeCity_Win_Spread_InputMan_CellType_Line_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_Empty" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.Empty">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.Empty.html#GrapeCity_Win_Spread_InputMan_CellType_Line_Empty">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an empty line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_LineWidth" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.LineWidth">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.LineWidth.html#GrapeCity_Win_Spread_InputMan_CellType_Line_LineWidth">LineWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the line, according to the style of the line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_Style" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.Style">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.Style.html#GrapeCity_Win_Spread_InputMan_CellType_Line_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the line style (dotted, dashed, inset, and so on.).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_Clone" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.Clone">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.Clone.html#GrapeCity_Win_Spread_InputMan_CellType_Line_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clones a copy from this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_Equals_System_Object_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.Equals.html#GrapeCity_Win_Spread_InputMan_CellType_Line_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether two object instances are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_GetHashCode" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.GetHashCode">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.GetHashCode.html#GrapeCity_Win_Spread_InputMan_CellType_Line_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a particular type, suitable for use in
hashing algorithms and data structures like a hash table.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.OnPropertyChanged(System.ComponentModel.PropertyChangedEventArgs)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.OnPropertyChanged.html#GrapeCity_Win_Spread_InputMan_CellType_Line_OnPropertyChanged_System_ComponentModel_PropertyChangedEventArgs_">OnPropertyChanged(PropertyChangedEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Called when the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.html">Line</a> object is changed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_Line_ToString" data-uid="GrapeCity.Win.Spread.InputMan.CellType.Line.ToString">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Line.ToString.html#GrapeCity_Win_Spread_InputMan_CellType_Line_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Converts the value of this instance to its equivalent string representation.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
