# FarPoint.Win.DoubleLineBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_DoubleLineBorder" data-uid="FarPoint.Win.DoubleLineBorder" class="text-break">DoubleLineBorder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a simple double-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"><a class="xref" href="FarPoint.Win.LineBorder.html">LineBorder</a></div>
    <div class="level2"><span class="xref">DoubleLineBorder</span></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_DoubleLineBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BorderConverter))]
public class DoubleLineBorder : 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 DoubleLineBorder
    Inherits 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_DoubleLineBorder__ctor_System_Drawing_Color_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor(System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.-ctor.html#FarPoint_Win_DoubleLineBorder__ctor_System_Drawing_Color_">DoubleLineBorder(Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a double-line border with the specified color and a width of 3.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_DoubleLineBorder__ctor_System_Drawing_Color_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.DoubleLineBorder.#ctor(System.Drawing.Color,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.-ctor.html#FarPoint_Win_DoubleLineBorder__ctor_System_Drawing_Color_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">DoubleLineBorder(Color, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a double-line border with the specified color, a width of 3, 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_DoubleLineBorder_Thickness" data-uid="FarPoint.Win.DoubleLineBorder.Thickness">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Thickness.html#FarPoint_Win_DoubleLineBorder_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the thickness of the double-line border in pixels (always set to 3).</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_DoubleLineBorder_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.DoubleLineBorder.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Deserialize.html#FarPoint_Win_DoubleLineBorder_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_DoubleLineBorder_Paint_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.DoubleLineBorder.Paint(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Paint.html#FarPoint_Win_DoubleLineBorder_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 double-line border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_DoubleLineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.DoubleLineBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Paint.html#FarPoint_Win_DoubleLineBorder_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 double-line border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_DoubleLineBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.DoubleLineBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Paint.html#FarPoint_Win_DoubleLineBorder_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 double-line border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_DoubleLineBorder_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.DoubleLineBorder.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.DoubleLineBorder.Serialize.html#FarPoint_Win_DoubleLineBorder_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>
