# FarPoint.Win.LineBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_LineBorder" data-uid="FarPoint.Win.LineBorder" class="text-break">LineBorder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a simple single-line 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">LineBorder</span></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.DoubleLineBorder.html">DoubleLineBorder</a></div>
      <div class="level2"><a class="xref" href="FarPoint.Win.RoundedLineBorder.html">RoundedLineBorder</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.IBorder.html">IBorder</a></div>
    <div><a class="xref" href="FarPoint.Win.IBorder2.html">IBorder2</a></div>
    <div><a class="xref" href="FarPoint.Win.ISerializeSupport.html">ISerializeSupport</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icomparable">IComparable</a></div>
    <div><a class="xref" href="FarPoint.Win.IBorder3.html">IBorder3</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.html">FarPoint.Win</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.dll</h6>
  <h5 id="FarPoint_Win_LineBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BorderConverter))]
public class LineBorder : IBorder, IBorder2, ISerializeSupport, ICloneable, IComparable, IBorder3</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(BorderConverter))&gt;
Public Class LineBorder
    Implements IBorder, IBorder2, ISerializeSupport, ICloneable, IComparable, IBorder3</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="FarPoint_Win_LineBorder__ctor_System_Drawing_Color_" data-uid="FarPoint.Win.LineBorder.#ctor(System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.LineBorder.-ctor.html#FarPoint_Win_LineBorder__ctor_System_Drawing_Color_">LineBorder(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a simple single-line border with the specified color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder__ctor_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.LineBorder.#ctor(System.Drawing.Color,System.Int32)">
          <a class="xref" href="FarPoint.Win.LineBorder.-ctor.html#FarPoint_Win_LineBorder__ctor_System_Drawing_Color_System_Int32_">LineBorder(Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a simple single-line border with the specified color and thickness.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder__ctor_System_Drawing_Color_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.LineBorder.#ctor(System.Drawing.Color,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.LineBorder.-ctor.html#FarPoint_Win_LineBorder__ctor_System_Drawing_Color_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">LineBorder(Color, int, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a simple single-line border with the specified color, thickness,
and sides on which the border is drawn.</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="FarPoint_Win_LineBorder_Bottom" data-uid="FarPoint.Win.LineBorder.Bottom">
          <a class="xref" href="FarPoint.Win.LineBorder.Bottom.html#FarPoint_Win_LineBorder_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the line is drawn on the bottom edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Color" data-uid="FarPoint.Win.LineBorder.Color">
          <a class="xref" href="FarPoint.Win.LineBorder.Color.html#FarPoint_Win_LineBorder_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Inset" data-uid="FarPoint.Win.LineBorder.Inset">
          <a class="xref" href="FarPoint.Win.LineBorder.Inset.html#FarPoint_Win_LineBorder_Inset">Inset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the insets of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Left" data-uid="FarPoint.Win.LineBorder.Left">
          <a class="xref" href="FarPoint.Win.LineBorder.Left.html#FarPoint_Win_LineBorder_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the line is drawn on the left edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Right" data-uid="FarPoint.Win.LineBorder.Right">
          <a class="xref" href="FarPoint.Win.LineBorder.Right.html#FarPoint_Win_LineBorder_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the line is drawn on the right edge of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Thickness" data-uid="FarPoint.Win.LineBorder.Thickness">
          <a class="xref" href="FarPoint.Win.LineBorder.Thickness.html#FarPoint_Win_LineBorder_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the thickness of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Top" data-uid="FarPoint.Win.LineBorder.Top">
          <a class="xref" href="FarPoint.Win.LineBorder.Top.html#FarPoint_Win_LineBorder_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the line is drawn on the top edge of the border.</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="FarPoint_Win_LineBorder_Clone" data-uid="FarPoint.Win.LineBorder.Clone">
          <a class="xref" href="FarPoint.Win.LineBorder.Clone.html#FarPoint_Win_LineBorder_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clones the border object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_CompareTo_System_Object_" data-uid="FarPoint.Win.LineBorder.CompareTo(System.Object)">
          <a class="xref" href="FarPoint.Win.LineBorder.CompareTo.html#FarPoint_Win_LineBorder_CompareTo_System_Object_">CompareTo(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the current object with another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.LineBorder.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.LineBorder.Deserialize.html#FarPoint_Win_LineBorder_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the object from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Equals_System_Object_" data-uid="FarPoint.Win.LineBorder.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.LineBorder.Equals.html#FarPoint_Win_LineBorder_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares the specified object to this border object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Paint_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.LineBorder.Paint(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.LineBorder.Paint.html#FarPoint_Win_LineBorder_Paint_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_">Paint(IBorderGraphics, float, float, float, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints (prints) to PDF the border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.LineBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.LineBorder.Paint.html#FarPoint_Win_LineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_">Paint(Graphics, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.LineBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.LineBorder.Paint.html#FarPoint_Win_LineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_">Paint(Graphics, int, int, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints the border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_LineBorder_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.LineBorder.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.LineBorder.Serialize.html#FarPoint_Win_LineBorder_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the object to XML.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
