# FarPoint.Web.Spread.Inset

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Web_Spread_Inset" data-uid="FarPoint.Web.Spread.Inset" class="text-break">Inset Class
</h1>
  <div class="markdown level0 summary"><p>Represents the dimensions of borders and margins.</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">Inset</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Web.Spread.Model.ISerializeSupport.html">ISerializeSupport</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Web.Spread.html">FarPoint.Web.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Web.Spread.dll</h6>
  <h5 id="FarPoint_Web_Spread_Inset_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ExpandableObjectConverter))]
public class Inset : ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ExpandableObjectConverter))&gt;
Public Class Inset
    Implements ISerializeSupport</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_Web_Spread_Inset__ctor" data-uid="FarPoint.Web.Spread.Inset.#ctor">
          <a class="xref" href="FarPoint.Web.Spread.Inset.-ctor.html#FarPoint_Web_Spread_Inset__ctor">Inset()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an empty set of margins (Inset object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Web.Spread.Inset.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="FarPoint.Web.Spread.Inset.-ctor.html#FarPoint_Web_Spread_Inset__ctor_System_Int32_System_Int32_System_Int32_System_Int32_">Inset(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a set of margins (Inset object) with the specified values.</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_Web_Spread_Inset_Bottom" data-uid="FarPoint.Web.Spread.Inset.Bottom">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Bottom.html#FarPoint_Web_Spread_Inset_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inset of the bottom border or margin in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_IsEmpty" data-uid="FarPoint.Web.Spread.Inset.IsEmpty">
          <a class="xref" href="FarPoint.Web.Spread.Inset.IsEmpty.html#FarPoint_Web_Spread_Inset_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether none of the margins are set (whether the values are all zero).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_Left" data-uid="FarPoint.Web.Spread.Inset.Left">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Left.html#FarPoint_Web_Spread_Inset_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inset of the left border or margin in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_Right" data-uid="FarPoint.Web.Spread.Inset.Right">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Right.html#FarPoint_Web_Spread_Inset_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inset of the right border or margin in pixels.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_Top" data-uid="FarPoint.Web.Spread.Inset.Top">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Top.html#FarPoint_Web_Spread_Inset_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the inset of the top border or margin in pixels.</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_Web_Spread_Inset_Deserialize_System_Xml_XmlNodeReader_" data-uid="FarPoint.Web.Spread.Inset.Deserialize(System.Xml.XmlNodeReader)">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Deserialize.html#FarPoint_Web_Spread_Inset_Deserialize_System_Xml_XmlNodeReader_">Deserialize(XmlNodeReader)</a>
        </td>
        <td class="markdown level1 summary"><p>Loads the margin settings (Inset object) from XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_Equals_FarPoint_Web_Spread_Inset_" data-uid="FarPoint.Web.Spread.Inset.Equals(FarPoint.Web.Spread.Inset)">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Equals.html#FarPoint_Web_Spread_Inset_Equals_FarPoint_Web_Spread_Inset_">Equals(Inset)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the inset of the current object is the same as the
specified object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_Serialize_System_Xml_XmlTextWriter_" data-uid="FarPoint.Web.Spread.Inset.Serialize(System.Xml.XmlTextWriter)">
          <a class="xref" href="FarPoint.Web.Spread.Inset.Serialize.html#FarPoint_Web_Spread_Inset_Serialize_System_Xml_XmlTextWriter_">Serialize(XmlTextWriter)</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the margin settings (Inset object) to XML.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Web_Spread_Inset_ToString" data-uid="FarPoint.Web.Spread.Inset.ToString">
          <a class="xref" href="FarPoint.Web.Spread.Inset.ToString.html#FarPoint_Web_Spread_Inset_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the name of the Inset object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
