# GrapeCity.ActiveReports.Border

## Content

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



  <h1 id="GrapeCity_ActiveReports_Border" data-uid="GrapeCity.ActiveReports.Border" class="text-break">Border Class
</h1>
  <div class="markdown level0 summary"><p>Represents the border.</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">Border</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.html">GrapeCity.ActiveReports</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Document.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Border_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof())]
public class Border</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_Border__ctor" data-uid="GrapeCity.ActiveReports.Border.#ctor">
          <a class="xref" href="GrapeCity.ActiveReports.Border.-ctor.html#GrapeCity_ActiveReports_Border__ctor">Border()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.ActiveReports.Border.html">Border</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_ShadowLineWidth" data-uid="GrapeCity.ActiveReports.Border.ShadowLineWidth">
          <a class="xref" href="GrapeCity.ActiveReports.Border.ShadowLineWidth.html">ShadowLineWidth</a>
        </td>
        <td class="markdown level1 summary"><p>The constant that specifies the width used to draw the shadow line.</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_Border_BottomColor" data-uid="GrapeCity.ActiveReports.Border.BottomColor">
          <a class="xref" href="GrapeCity.ActiveReports.Border.BottomColor.html#GrapeCity_ActiveReports_Border_BottomColor">BottomColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the bottom edge.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_BottomStyle" data-uid="GrapeCity.ActiveReports.Border.BottomStyle">
          <a class="xref" href="GrapeCity.ActiveReports.Border.BottomStyle.html#GrapeCity_ActiveReports_Border_BottomStyle">BottomStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the bottom border line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Color" data-uid="GrapeCity.ActiveReports.Border.Color">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Color.html#GrapeCity_ActiveReports_Border_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color for all sides.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_LeftColor" data-uid="GrapeCity.ActiveReports.Border.LeftColor">
          <a class="xref" href="GrapeCity.ActiveReports.Border.LeftColor.html#GrapeCity_ActiveReports_Border_LeftColor">LeftColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the left edge.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_LeftStyle" data-uid="GrapeCity.ActiveReports.Border.LeftStyle">
          <a class="xref" href="GrapeCity.ActiveReports.Border.LeftStyle.html#GrapeCity_ActiveReports_Border_LeftStyle">LeftStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the left border line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_LineStyleOfEdges" data-uid="GrapeCity.ActiveReports.Border.LineStyleOfEdges">
          <a class="xref" href="GrapeCity.ActiveReports.Border.LineStyleOfEdges.html#GrapeCity_ActiveReports_Border_LineStyleOfEdges">LineStyleOfEdges</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the line style of edges.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_RightColor" data-uid="GrapeCity.ActiveReports.Border.RightColor">
          <a class="xref" href="GrapeCity.ActiveReports.Border.RightColor.html#GrapeCity_ActiveReports_Border_RightColor">RightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the right edge.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_RightStyle" data-uid="GrapeCity.ActiveReports.Border.RightStyle">
          <a class="xref" href="GrapeCity.ActiveReports.Border.RightStyle.html#GrapeCity_ActiveReports_Border_RightStyle">RightStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the right border line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Shadow" data-uid="GrapeCity.ActiveReports.Border.Shadow">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Shadow.html#GrapeCity_ActiveReports_Border_Shadow">Shadow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether this <a class="xref" href="GrapeCity.ActiveReports.Border.html">Border</a> is shadow.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Style" data-uid="GrapeCity.ActiveReports.Border.Style">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Style.html#GrapeCity_ActiveReports_Border_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style for all border lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_TopColor" data-uid="GrapeCity.ActiveReports.Border.TopColor">
          <a class="xref" href="GrapeCity.ActiveReports.Border.TopColor.html#GrapeCity_ActiveReports_Border_TopColor">TopColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the color of the top edge.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_TopStyle" data-uid="GrapeCity.ActiveReports.Border.TopStyle">
          <a class="xref" href="GrapeCity.ActiveReports.Border.TopStyle.html#GrapeCity_ActiveReports_Border_TopStyle">TopStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the style of the top border line.</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_Border_Clone" data-uid="GrapeCity.ActiveReports.Border.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Clone.html#GrapeCity_ActiveReports_Border_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Performs a cloning of this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_ColorOfEdges_System_Int32_" data-uid="GrapeCity.ActiveReports.Border.ColorOfEdges(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.ColorOfEdges.html#GrapeCity_ActiveReports_Border_ColorOfEdges_System_Int32_">ColorOfEdges(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets color of the edge at the given index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_CopyTo_GrapeCity_ActiveReports_Border_" data-uid="GrapeCity.ActiveReports.Border.CopyTo(GrapeCity.ActiveReports.Border)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.CopyTo.html#GrapeCity_ActiveReports_Border_CopyTo_GrapeCity_ActiveReports_Border_">CopyTo(Border)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies this border attributes to the specified border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_GetBorderLineWidth_GrapeCity_ActiveReports_BorderLineStyle_System_Single_" data-uid="GrapeCity.ActiveReports.Border.GetBorderLineWidth(GrapeCity.ActiveReports.BorderLineStyle,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.GetBorderLineWidth.html#GrapeCity_ActiveReports_Border_GetBorderLineWidth_GrapeCity_ActiveReports_BorderLineStyle_System_Single_">GetBorderLineWidth(BorderLineStyle, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets width of the border line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_GetMargins_System_Single_" data-uid="GrapeCity.ActiveReports.Border.GetMargins(System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.GetMargins.html#GrapeCity_ActiveReports_Border_GetMargins_System_Single_">GetMargins(float)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.ActiveReports.Border.BorderMargins.html">Border.BorderMargins</a> object that contains the thickness of the top, left, right, and bottom edges of the drawn border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_GetShadowLinePosition_GrapeCity_ActiveReports_BorderEdges_System_Drawing_RectangleF_System_Single_System_Drawing_PointF__System_Drawing_PointF__" data-uid="GrapeCity.ActiveReports.Border.GetShadowLinePosition(GrapeCity.ActiveReports.BorderEdges,System.Drawing.RectangleF,System.Single,System.Drawing.PointF@,System.Drawing.PointF@)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.GetShadowLinePosition.html#GrapeCity_ActiveReports_Border_GetShadowLinePosition_GrapeCity_ActiveReports_BorderEdges_System_Drawing_RectangleF_System_Single_System_Drawing_PointF__System_Drawing_PointF__">GetShadowLinePosition(BorderEdges, RectangleF, float, out PointF, out PointF)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the position of the shadow line.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Inflate_System_Single_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Border.Inflate(System.Single,System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Inflate.html#GrapeCity_ActiveReports_Border_Inflate_System_Single_System_Drawing_RectangleF_">Inflate(float, RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Inflates the boundaries according to the mergins.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Inflate_System_Single_System_Drawing_RectangleF_System_Single_" data-uid="GrapeCity.ActiveReports.Border.Inflate(System.Single,System.Drawing.RectangleF,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Inflate.html#GrapeCity_ActiveReports_Border_Inflate_System_Single_System_Drawing_RectangleF_System_Single_">Inflate(float, RectangleF, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Inflates the boundaries according to the mergins.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_InflateInches_GrapeCity_ActiveReports_Core_Document_DeviceInfo_System_Drawing_RectangleF_" data-uid="GrapeCity.ActiveReports.Border.InflateInches(GrapeCity.ActiveReports.Core.Document.DeviceInfo,System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.InflateInches.html#GrapeCity_ActiveReports_Border_InflateInches_GrapeCity_ActiveReports_Core_Document_DeviceInfo_System_Drawing_RectangleF_">InflateInches(DeviceInfo, RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Inflates the boundaries according to the mergins in inch units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_IsEmpty" data-uid="GrapeCity.ActiveReports.Border.IsEmpty">
          <a class="xref" href="GrapeCity.ActiveReports.Border.IsEmpty.html#GrapeCity_ActiveReports_Border_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the current instance is empty.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_MarginsInPoints_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Border.MarginsInPoints(System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.MarginsInPoints.html#GrapeCity_ActiveReports_Border_MarginsInPoints_System_Single_System_Single_System_Single_">MarginsInPoints(float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="GrapeCity.ActiveReports.Border.BorderMargins.html">Border.BorderMargins</a> object that contains the thickness of the top, left, right, and bottom edges of the drawn border.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_PenStyle_System_Int32_" data-uid="GrapeCity.ActiveReports.Border.PenStyle(System.Int32)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.PenStyle.html#GrapeCity_ActiveReports_Border_PenStyle_System_Int32_">PenStyle(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the line style for the pen using the specified edge.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Read_System_IO_BinaryReader_System_Int16_" data-uid="GrapeCity.ActiveReports.Border.Read(System.IO.BinaryReader,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Read.html#GrapeCity_ActiveReports_Border_Read_System_IO_BinaryReader_System_Int16_">Read(BinaryReader, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads properties from a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.binaryreader">BinaryReader</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_ReadXml_System_Xml_XmlNode_" data-uid="GrapeCity.ActiveReports.Border.ReadXml(System.Xml.XmlNode)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.ReadXml.html#GrapeCity_ActiveReports_Border_ReadXml_System_Xml_XmlNode_">ReadXml(XmlNode)</a>
        </td>
        <td class="markdown level1 summary"><p>Reads data from the specified <span class="xref">System.Xml.XmlNode</span>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Render_System_Collections_ArrayList_System_Drawing_RectangleF_System_Single_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Border.Render(System.Collections.ArrayList,System.Drawing.RectangleF,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Render.html#GrapeCity_ActiveReports_Border_Render_System_Collections_ArrayList_System_Drawing_RectangleF_System_Single_System_Single_System_Single_">Render(ArrayList, RectangleF, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Renders the border around the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_ToString" data-uid="GrapeCity.ActiveReports.Border.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Border.ToString.html#GrapeCity_ActiveReports_Border_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_Write_System_IO_BinaryWriter_System_Int16_" data-uid="GrapeCity.ActiveReports.Border.Write(System.IO.BinaryWriter,System.Int16)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.Write.html#GrapeCity_ActiveReports_Border_Write_System_IO_BinaryWriter_System_Int16_">Write(BinaryWriter, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Writing the current values using a specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.binarywriter">BinaryWriter</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_WriteXml_System_Xml_XmlElement_" data-uid="GrapeCity.ActiveReports.Border.WriteXml(System.Xml.XmlElement)">
          <a class="xref" href="GrapeCity.ActiveReports.Border.WriteXml.html#GrapeCity_ActiveReports_Border_WriteXml_System_Xml_XmlElement_">WriteXml(XmlElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Writes the current data to the specified <span class="xref">System.Xml.XmlElement</span>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_ActiveReports_Border_PropertyChanged" data-uid="GrapeCity.ActiveReports.Border.PropertyChanged">
          <a class="xref" href="GrapeCity.ActiveReports.Border.PropertyChanged.html">PropertyChanged</a>
        </td>
        <td class="markdown level1 summary"><p>The event occurs when the property is changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
