# GrapeCity.ActiveReports.Document.Section.LineItem

## Content

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



  <h1 id="GrapeCity_ActiveReports_Document_Section_LineItem" data-uid="GrapeCity.ActiveReports.Document.Section.LineItem" class="text-break">LineItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents an line item element.</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.Document.Section.CanvasItem.html">CanvasItem</a></div>
    <div class="level2"><span class="xref">LineItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <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.ActiveReports.Document.Section.html">GrapeCity.ActiveReports.Document.Section</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Document_Section_LineItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class LineItem : CanvasItem, IDisposable, ICloneable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Document_Section_LineItem_examples"><strong>Examples</strong></h5>
  <pre><code class="lang-csharp">public void DrawLine(float startX, float startY, float endX, float endY)
{
	CanvasItems.Add(new LineItem(startX,startY,endX,endY));
}</code></pre>

  <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_Document_Section_LineItem_Clone" data-uid="GrapeCity.ActiveReports.Document.Section.LineItem.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LineItem.Clone.html#GrapeCity_ActiveReports_Document_Section_LineItem_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a cloning of this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_LineItem_CreateRead_System_IO_BinaryReader_System_Int16_" data-uid="GrapeCity.ActiveReports.Document.Section.LineItem.CreateRead(System.IO.BinaryReader,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LineItem.CreateRead.html#GrapeCity_ActiveReports_Document_Section_LineItem_CreateRead_System_IO_BinaryReader_System_Int16_">CreateRead(BinaryReader, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LineItem.html">LineItem</a> and reads it from specified reader.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Document_Section_LineItem_ToString" data-uid="GrapeCity.ActiveReports.Document.Section.LineItem.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Document.Section.LineItem.ToString.html#GrapeCity_ActiveReports_Document_Section_LineItem_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
