# FarPoint.Web.Spread.BaseCellType.ProcessMargin

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_BaseCellType_ProcessMargin_" data-uid="FarPoint.Web.Spread.BaseCellType.ProcessMargin*">ProcessMargin Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_BaseCellType_ProcessMargin_" data-uid="FarPoint.Web.Spread.BaseCellType.ProcessMargin*"></a>
<h4 id="FarPoint_Web_Spread_BaseCellType_ProcessMargin_System_Drawing_RectangleF_FarPoint_Web_Spread_Inset_" data-uid="FarPoint.Web.Spread.BaseCellType.ProcessMargin(System.Drawing.RectangleF,FarPoint.Web.Spread.Inset)">ProcessMargin(RectangleF, Inset)</h4>
<div class="markdown level1 summary"><p>Processes the margin.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected RectangleF ProcessMargin(RectangleF rect, Inset margin)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function ProcessMargin(rect As RectangleF, margin As Inset) As RectangleF</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td><span class="parametername">rect</span></td>
      <td><p>The rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.Inset.html">Inset</a></td>
      <td><span class="parametername">margin</span></td>
      <td><p>The margin.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_BaseCellType_ProcessMargin_" data-uid="FarPoint.Web.Spread.BaseCellType.ProcessMargin*"></a>
<h4 id="FarPoint_Web_Spread_BaseCellType_ProcessMargin_System_Drawing_RectangleF_FarPoint_Web_Spread_Inset_System_Single_" data-uid="FarPoint.Web.Spread.BaseCellType.ProcessMargin(System.Drawing.RectangleF,FarPoint.Web.Spread.Inset,System.Single)">ProcessMargin(RectangleF, Inset, float)</h4>
<div class="markdown level1 summary"><p>Processes the margin.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected RectangleF ProcessMargin(RectangleF rect, Inset margin, float zoomFactor)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Function ProcessMargin(rect As RectangleF, margin As Inset, zoomFactor As Single) As RectangleF</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td><span class="parametername">rect</span></td>
      <td><p>The rectangle.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.Inset.html">Inset</a></td>
      <td><span class="parametername">margin</span></td>
      <td><p>The margin.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">zoomFactor</span></td>
      <td><p>The zoom factor.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span class="xref">RectangleF</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
