# GrapeCity.ActiveReports.SectionReportModel.Line

## Content

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



  <h1 id="GrapeCity_ActiveReports_SectionReportModel_Line" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line" class="text-break">Line Class
</h1>
  <div class="markdown level0 summary"><p>Summary description for 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.SectionReportModel.ARControl.html">ARControl</a></div>
    <div class="level2"><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.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.Controls.Design.IPersistControl.html">IPersistControl</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.html">GrapeCity.ActiveReports.SectionReportModel</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.dll</h6>
  <h5 id="GrapeCity_ActiveReports_SectionReportModel_Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[DefaultSize(1, 0)]
public sealed class Line : ARControl, IComponent, IDisposable, IPersistControl</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_SectionReportModel_Line__ctor" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.-ctor.html#GrapeCity_ActiveReports_SectionReportModel_Line__ctor">Line()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.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_SectionReportModel_Line_AnchorBottom" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.AnchorBottom">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.AnchorBottom.html#GrapeCity_ActiveReports_SectionReportModel_Line_AnchorBottom">AnchorBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Anchors the line to the bottom of the containing section.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_ControlType" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.ControlType">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.ControlType.html#GrapeCity_ActiveReports_SectionReportModel_Line_ControlType">ControlType</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_LineColor" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.LineColor">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.LineColor.html#GrapeCity_ActiveReports_SectionReportModel_Line_LineColor">LineColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the line control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_LineStyle" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.LineStyle">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.LineStyle.html#GrapeCity_ActiveReports_SectionReportModel_Line_LineStyle">LineStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the pen style used to draw the line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_LineWeight" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.LineWeight">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.LineWeight.html#GrapeCity_ActiveReports_SectionReportModel_Line_LineWeight">LineWeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the pen width of the line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_Location" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.Location">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.Location.html#GrapeCity_ActiveReports_SectionReportModel_Line_Location">Location</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the location of the control in inches.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_Size" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.Size">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.Size.html#GrapeCity_ActiveReports_SectionReportModel_Line_Size">Size</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_X1" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.X1">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.X1.html#GrapeCity_ActiveReports_SectionReportModel_Line_X1">X1</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal coordinate of the line's starting point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_X2" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.X2">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.X2.html#GrapeCity_ActiveReports_SectionReportModel_Line_X2">X2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal coordinate of the line's end point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_Y1" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.Y1">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.Y1.html#GrapeCity_ActiveReports_SectionReportModel_Line_Y1">Y1</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical coordinate of the line's starting point.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_Y2" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.Y2">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.Y2.html#GrapeCity_ActiveReports_SectionReportModel_Line_Y2">Y2</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the vertical coordinate of the line's end point.</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_SectionReportModel_Line_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.GetControlBounds(System.Drawing.PointF,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.GetControlBounds.html#GrapeCity_ActiveReports_SectionReportModel_Line_GetControlBounds_System_Drawing_PointF_System_Single_System_Single_">GetControlBounds(PointF, float, float)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_QuickLoad_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.QuickLoad(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.QuickLoad.html#GrapeCity_ActiveReports_SectionReportModel_Line_QuickLoad_System_IO_BinaryReader_">QuickLoad(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the control from specified binary reader.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_QuickSave_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.QuickSave(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.QuickSave.html#GrapeCity_ActiveReports_SectionReportModel_Line_QuickSave_System_IO_BinaryWriter_">QuickSave(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the control to the specified binary writer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_ReadBounds_System_IO_BinaryReader_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.ReadBounds(System.IO.BinaryReader)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.ReadBounds.html#GrapeCity_ActiveReports_SectionReportModel_Line_ReadBounds_System_IO_BinaryReader_">ReadBounds(BinaryReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control bounds from specified binary reader.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_ReadBounds_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.ReadBounds(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.ReadBounds.html#GrapeCity_ActiveReports_SectionReportModel_Line_ReadBounds_System_Xml_XmlNode_">ReadBounds(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Read bounds of the control</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_ReadXml_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.ReadXml(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.ReadXml.html#GrapeCity_ActiveReports_SectionReportModel_Line_ReadXml_System_Xml_XmlNode_">ReadXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads the control from specified XML node.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_WriteBounds_System_IO_BinaryWriter_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.WriteBounds(System.IO.BinaryWriter)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.WriteBounds.html#GrapeCity_ActiveReports_SectionReportModel_Line_WriteBounds_System_IO_BinaryWriter_">WriteBounds(BinaryWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the bounds to the specified binary writer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_WriteBounds_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.WriteBounds(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.WriteBounds.html#GrapeCity_ActiveReports_SectionReportModel_Line_WriteBounds_System_Xml_XmlElement_">WriteBounds(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes bounds of the control</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_SectionReportModel_Line_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.SectionReportModel.Line.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.SectionReportModel.Line.WriteXml.html#GrapeCity_ActiveReports_SectionReportModel_Line_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the control as XML to specified XML node.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ApplyDefaults.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ApplyDefaults__1___0_">ObjectExtensions.ApplyDefaults&lt;TObject&gt;(TObject)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.SetValue.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_SetValue__1___0_System_ComponentModel_PropertyDescriptor_System_String_">ObjectExtensions.SetValue&lt;TObject&gt;(TObject, PropertyDescriptor, string)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.ReportsCore.Tools.ObjectExtensions.ToNameValueCollection.html#GrapeCity_ActiveReports_ReportsCore_Tools_ObjectExtensions_ToNameValueCollection_System_Object_">ObjectExtensions.ToNameValueCollection(object)</a>
  </div>

</div>
