# FarPoint.Win.BevelBorder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_BevelBorder" data-uid="FarPoint.Win.BevelBorder" class="text-break">BevelBorder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a simple one-line beveled 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">BevelBorder</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_BevelBorder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(BorderConverter))]
public class BevelBorder : 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 BevelBorder
    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_BevelBorder__ctor_FarPoint_Win_BevelBorderType_" data-uid="FarPoint.Win.BevelBorder.#ctor(FarPoint.Win.BevelBorderType)">
          <a class="xref" href="FarPoint.Win.BevelBorder.-ctor.html#FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_">BevelBorder(BevelBorderType)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a beveled border of the specified type.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_" data-uid="FarPoint.Win.BevelBorder.#ctor(FarPoint.Win.BevelBorderType,System.Drawing.Color,System.Drawing.Color)">
          <a class="xref" href="FarPoint.Win.BevelBorder.-ctor.html#FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_">BevelBorder(BevelBorderType, Color, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a beveled border with the specified type, highlight color,
and shadow color.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_System_Int32_" data-uid="FarPoint.Win.BevelBorder.#ctor(FarPoint.Win.BevelBorderType,System.Drawing.Color,System.Drawing.Color,System.Int32)">
          <a class="xref" href="FarPoint.Win.BevelBorder.-ctor.html#FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_System_Int32_">BevelBorder(BevelBorderType, Color, Color, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a beveled border with the specified type, highlight color,
shadow color, and thickness.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.#ctor(FarPoint.Win.BevelBorderType,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.-ctor.html#FarPoint_Win_BevelBorder__ctor_FarPoint_Win_BevelBorderType_System_Drawing_Color_System_Drawing_Color_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">BevelBorder(BevelBorderType, Color, Color, int, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a beveled border with the specified type, highlight color,
shadow 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_BevelBorder_Bottom" data-uid="FarPoint.Win.BevelBorder.Bottom">
          <a class="xref" href="FarPoint.Win.BevelBorder.Bottom.html#FarPoint_Win_BevelBorder_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_BevelBorder_Highlight" data-uid="FarPoint.Win.BevelBorder.Highlight">
          <a class="xref" href="FarPoint.Win.BevelBorder.Highlight.html#FarPoint_Win_BevelBorder_Highlight">Highlight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the highlight color of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Inset" data-uid="FarPoint.Win.BevelBorder.Inset">
          <a class="xref" href="FarPoint.Win.BevelBorder.Inset.html#FarPoint_Win_BevelBorder_Inset">Inset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the insets of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Left" data-uid="FarPoint.Win.BevelBorder.Left">
          <a class="xref" href="FarPoint.Win.BevelBorder.Left.html#FarPoint_Win_BevelBorder_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_BevelBorder_Right" data-uid="FarPoint.Win.BevelBorder.Right">
          <a class="xref" href="FarPoint.Win.BevelBorder.Right.html#FarPoint_Win_BevelBorder_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_BevelBorder_Shadow" data-uid="FarPoint.Win.BevelBorder.Shadow">
          <a class="xref" href="FarPoint.Win.BevelBorder.Shadow.html#FarPoint_Win_BevelBorder_Shadow">Shadow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the shadow color of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Thickness" data-uid="FarPoint.Win.BevelBorder.Thickness">
          <a class="xref" href="FarPoint.Win.BevelBorder.Thickness.html#FarPoint_Win_BevelBorder_Thickness">Thickness</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the thickness of the border.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Top" data-uid="FarPoint.Win.BevelBorder.Top">
          <a class="xref" href="FarPoint.Win.BevelBorder.Top.html#FarPoint_Win_BevelBorder_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>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Type" data-uid="FarPoint.Win.BevelBorder.Type">
          <a class="xref" href="FarPoint.Win.BevelBorder.Type.html#FarPoint_Win_BevelBorder_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the type of beveling for 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_BevelBorder_Clone" data-uid="FarPoint.Win.BevelBorder.Clone">
          <a class="xref" href="FarPoint.Win.BevelBorder.Clone.html#FarPoint_Win_BevelBorder_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Clones the border object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_CompareTo_System_Object_" data-uid="FarPoint.Win.BevelBorder.CompareTo(System.Object)">
          <a class="xref" href="FarPoint.Win.BevelBorder.CompareTo.html#FarPoint_Win_BevelBorder_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_BevelBorder_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Win.BevelBorder.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Deserialize.html#FarPoint_Win_BevelBorder_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_BevelBorder_Equals_System_Object_" data-uid="FarPoint.Win.BevelBorder.Equals(System.Object)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Equals.html#FarPoint_Win_BevelBorder_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_BevelBorder_Paint_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.Paint(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Paint.html#FarPoint_Win_BevelBorder_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 beveled border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.BevelBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Paint.html#FarPoint_Win_BevelBorder_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 beveled border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Paint_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.Paint(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Paint.html#FarPoint_Win_BevelBorder_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 beveled border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintLowered_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.PaintLowered(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintLowered.html#FarPoint_Win_BevelBorder_PaintLowered_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_">PaintLowered(IBorderGraphics, float, float, float, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints (prints) to PDF a lowered border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintLowered_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.BevelBorder.PaintLowered(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintLowered.html#FarPoint_Win_BevelBorder_PaintLowered_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_">PaintLowered(Graphics, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints a lowered border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintLowered_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.PaintLowered(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintLowered.html#FarPoint_Win_BevelBorder_PaintLowered_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_">PaintLowered(Graphics, int, int, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints a lowered border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintRaised_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.PaintRaised(FarPoint.Win.IBorderGraphics,System.Single,System.Single,System.Single,System.Single,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintRaised.html#FarPoint_Win_BevelBorder_PaintRaised_FarPoint_Win_IBorderGraphics_System_Single_System_Single_System_Single_System_Single_System_Boolean_">PaintRaised(IBorderGraphics, float, float, float, float, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints (prints) to PDF a raised border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintRaised_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.BevelBorder.PaintRaised(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintRaised.html#FarPoint_Win_BevelBorder_PaintRaised_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_">PaintRaised(Graphics, int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints a raised border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_PaintRaised_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_" data-uid="FarPoint.Win.BevelBorder.PaintRaised(System.Drawing.Graphics,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="FarPoint.Win.BevelBorder.PaintRaised.html#FarPoint_Win_BevelBorder_PaintRaised_System_Drawing_Graphics_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_">PaintRaised(Graphics, int, int, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints a raised border inside the specified rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_BevelBorder_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Win.BevelBorder.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Win.BevelBorder.Serialize.html#FarPoint_Win_BevelBorder_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>
