# GrapeCity.ActiveReports.PageReportModel.Line

## Content

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



  <h1 id="GrapeCity_ActiveReports_PageReportModel_Line" data-uid="GrapeCity.ActiveReports.PageReportModel.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Represents a line <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a> within the report definition.</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="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportComponent.html">ReportComponent</a></div>
    <div class="level4"><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.ReportItem.html">ReportItem</a></div>
    <div class="level5"><span class="xref">Line</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IReportComponent.html">IReportComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="GrapeCity.ActiveReports.PageReportModel.IValidateable.html">IValidateable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.html">GrapeCity.ActiveReports.PageReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rdl.dll</h6>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class Line : ReportItem, IReportComponent, IComponent, IDisposable, IValidateable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_PageReportModel_Line_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Lines can be drawn from the top or left (or both) and can have negative heights or widths (or both).
However, the sum of Top and Height, and the sum of Left and Width, must be non-negative and valid sizes.</p>
</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_PageReportModel_Line__ctor" data-uid="GrapeCity.ActiveReports.PageReportModel.Line.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Line.-ctor.html#GrapeCity_ActiveReports_PageReportModel_Line__ctor">Line()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Line.html">Line</a> class.</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_PageReportModel_Line_AccessibleDescription" data-uid="GrapeCity.ActiveReports.PageReportModel.Line.AccessibleDescription">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Line.AccessibleDescription.html#GrapeCity_ActiveReports_PageReportModel_Line_AccessibleDescription">AccessibleDescription</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the description of the control for accessibility client applications.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Line_Height" data-uid="GrapeCity.ActiveReports.PageReportModel.Line.Height">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Line.Height.html#GrapeCity_ActiveReports_PageReportModel_Line_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a height of the line, allowing for negative values.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_PageReportModel_Line_Width" data-uid="GrapeCity.ActiveReports.PageReportModel.Line.Width">
          <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.Line.Width.html#GrapeCity_ActiveReports_PageReportModel_Line_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a width of the line, allowing for negative values.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.GetReportSectionFromComponent.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_GetReportSectionFromComponent_GrapeCity_ActiveReports_PageReportModel_IReportComponent_">RomUtils.GetReportSectionFromComponent(IReportComponent)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.CollectionExtensions.AddRange.html#GrapeCity_ActiveReports_Rdl_Tools_CollectionExtensions_AddRange__2___0_System_Collections_Generic_IEnumerable___1__">CollectionExtensions.AddRange&lt;TCollection, TItem&gt;(TCollection, IEnumerable&lt;TItem&gt;)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.Clone.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_Clone__1___0_">ReportItemExtensions.Clone&lt;TItem&gt;(TItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.PageReportModel.RomUtils.IsContentPlaceHolder.html#GrapeCity_ActiveReports_PageReportModel_RomUtils_IsContentPlaceHolder_GrapeCity_ActiveReports_PageReportModel_ReportItem_">RomUtils.IsContentPlaceHolder(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportExtensions.GetSelfAndAllDescendants.html#GrapeCity_ActiveReports_Rdl_Tools_ReportExtensions_GetSelfAndAllDescendants_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportExtensions.GetSelfAndAllDescendants(ReportItem)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Rdl.Tools.ReportItemExtensions.GetReportItemTypeName.html#GrapeCity_ActiveReports_Rdl_Tools_ReportItemExtensions_GetReportItemTypeName_GrapeCity_ActiveReports_PageReportModel_ReportItem_">ReportItemExtensions.GetReportItemTypeName(ReportItem)</a>
  </div>

</div>
