# GrapeCity.ActiveReports.Chart.Graphics.Line

## Content

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



  <h1 id="GrapeCity_ActiveReports_Chart_Graphics_Line" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Holds all visual attibutes of line.</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"><a class="xref" href="GrapeCity.ActiveReports.Chart.Item.html">Item</a></div>
    <div class="level2"><span class="xref">Line</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphItem.html">IGraphItem</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.Chart.IGraphXmlSerializable.html">IGraphXmlSerializable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.html">GrapeCity.ActiveReports.Chart.Graphics</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_Graphics_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(Line.Converter))]
public sealed class Line : Item, IGraphItem, ICloneable, IGraphXmlSerializable</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_ActiveReports_Chart_Graphics_Line__ctor" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor">Line()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates default line</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.Drawing.Color)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_">Line(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates solid line with thickness of 1 and with specified color</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_GrapeCity_ActiveReports_Chart_Graphics_LineStyle_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.Drawing.Color,GrapeCity.ActiveReports.Chart.Graphics.LineStyle)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_GrapeCity_ActiveReports_Chart_Graphics_LineStyle_">Line(Color, LineStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the LineInfo class with thickness of 1 and with specified style</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_System_Int32_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.Drawing.Color,System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_System_Int32_">Line(Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates solid line with specified thickness and color</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_System_Int32_GrapeCity_ActiveReports_Chart_Graphics_LineStyle_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.Drawing.Color,System.Int32,GrapeCity.ActiveReports.Chart.Graphics.LineStyle)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_Drawing_Color_System_Int32_GrapeCity_ActiveReports_Chart_Graphics_LineStyle_">Line(Color, int, LineStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes new instance of the Line class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_String_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_String_">Line(string)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.#ctor(System.String,GrapeCity.ActiveReports.Chart.GraphXmlSerializationContext)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.-ctor.html#GrapeCity_ActiveReports_Chart_Graphics_Line__ctor_System_String_GrapeCity_ActiveReports_Chart_GraphXmlSerializationContext_">Line(string, GraphXmlSerializationContext)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use only.</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_ActiveReports_Chart_Graphics_Line_Color" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.Color">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.Color.html#GrapeCity_ActiveReports_Chart_Graphics_Line_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Color used to draw line</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line_IsDirty" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.IsDirty">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.IsDirty.html#GrapeCity_ActiveReports_Chart_Graphics_Line_IsDirty">IsDirty</a>
        </td>
        <td class="markdown level1 summary"><p>Overridden <pre><code class="lang-csharp">Item.IsDirty</code></pre>. Specifies whether object should be redrawn.
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line_Style" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.Style">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.Style.html#GrapeCity_ActiveReports_Chart_Graphics_Line_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Style used to draw line</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line_Weight" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.Weight">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.Weight.html#GrapeCity_ActiveReports_Chart_Graphics_Line_Weight">Weight</a>
        </td>
        <td class="markdown level1 summary"><p>Line thickness</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_ActiveReports_Chart_Graphics_Line_Equals_System_Object_" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.Equals(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.Equals.html#GrapeCity_ActiveReports_Chart_Graphics_Line_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compare the Line object to another System.Object and check if the two are equal.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Graphics_Line_GetHashCode" data-uid="GrapeCity.ActiveReports.Chart.Graphics.Line.GetHashCode">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Graphics.Line.GetHashCode.html#GrapeCity_ActiveReports_Chart_Graphics_Line_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>It functions as a hash function for a particular type. It is suitable for use in data structures such as hash algorithm and hash table.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
