# FarPoint.Win.CompoundBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_CompoundBorder" data-uid="FarPoint.Win.CompoundBorder" class="text-break">CompoundBorder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a compound 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">CompoundBorder</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_CompoundBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BorderConverter))]
public class CompoundBorder : 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 CompoundBorder
    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_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_" data-uid="FarPoint.Win.CompoundBorder.#ctor(FarPoint.Win.IBorder,FarPoint.Win.IBorder)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.-ctor.html#FarPoint_Win_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_">CompoundBorder(IBorder, IBorder)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a compound border with the specified inside and outside borders.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_System_Int32_System_Drawing_Color_" data-uid="FarPoint.Win.CompoundBorder.#ctor(FarPoint.Win.IBorder,FarPoint.Win.IBorder,System.Int32,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.-ctor.html#FarPoint_Win_CompoundBorder__ctor_FarPoint_Win_IBorder_FarPoint_Win_IBorder_System_Int32_System_Drawing_Color_">CompoundBorder(IBorder, IBorder, int, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a compound border with the specified inside and outside borders
and the specified face color.</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_CompoundBorder_FaceColor" data-uid="FarPoint.Win.CompoundBorder.FaceColor">
          <a class="xref" href="FarPoint.Win.CompoundBorder.FaceColor.html#FarPoint_Win_CompoundBorder_FaceColor">FaceColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the color of the face for a compound border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_FaceWidth" data-uid="FarPoint.Win.CompoundBorder.FaceWidth">
          <a class="xref" href="FarPoint.Win.CompoundBorder.FaceWidth.html#FarPoint_Win_CompoundBorder_FaceWidth">FaceWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of the face for a compound border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Inset" data-uid="FarPoint.Win.CompoundBorder.Inset">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Inset.html#FarPoint_Win_CompoundBorder_Inset">Inset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the insets of the border for a compound border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Inside" data-uid="FarPoint.Win.CompoundBorder.Inside">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Inside.html#FarPoint_Win_CompoundBorder_Inside">Inside</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the inside border for a compound border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Outside" data-uid="FarPoint.Win.CompoundBorder.Outside">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Outside.html#FarPoint_Win_CompoundBorder_Outside">Outside</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the outside border for a compound 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_CompoundBorder_Clone" data-uid="FarPoint.Win.CompoundBorder.Clone">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Clone.html#FarPoint_Win_CompoundBorder_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clones the border object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_CompareTo_System_Object_" data-uid="FarPoint.Win.CompoundBorder.CompareTo(System.Object)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.CompareTo.html#FarPoint_Win_CompoundBorder_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_CompoundBorder_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.CompoundBorder.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Deserialize.html#FarPoint_Win_CompoundBorder_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_CompoundBorder_Equals_System_Object_" data-uid="FarPoint.Win.CompoundBorder.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Equals.html#FarPoint_Win_CompoundBorder_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_CompoundBorder_Paint_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.CompoundBorder.Paint(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Paint.html#FarPoint_Win_CompoundBorder_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 compound border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.CompoundBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Paint.html#FarPoint_Win_CompoundBorder_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 compound border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.CompoundBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Paint.html#FarPoint_Win_CompoundBorder_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 compound border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_CompoundBorder_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.CompoundBorder.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.CompoundBorder.Serialize.html#FarPoint_Win_CompoundBorder_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>
