# FarPoint.Win.Spread.CellPadding.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*">CellPadding Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellPadding__ctor" data-uid="FarPoint.Win.Spread.CellPadding.#ctor">CellPadding()</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellPadding()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellPadding__ctor_System_Int32_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Int32)">CellPadding(int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellPadding(int all)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(all As Integer)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">all</span></td>
      <td><p>The padding value, in pixels, for all edges.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellPadding__ctor_FarPoint_Win_Spread_CellPadding_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(FarPoint.Win.Spread.CellPadding)">CellPadding(CellPadding)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellPadding(CellPadding cellPadding)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(cellPadding As CellPadding)</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><a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a></td>
      <td><span class="parametername">cellPadding</span></td>
      <td><p>The instance of CellPadding class that initializes the new instance.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellPadding__ctor_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Int32,System.Int32,System.Int32,System.Int32)">CellPadding(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="FarPoint.Win.Spread.CellPadding.html">CellPadding</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public CellPadding(int left, int top, int right, int bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(left As Integer, top As Integer, right As Integer, bottom As Integer)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>The padding value, in pixels, for left edge.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>The padding value, in pixels, for top edge.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>The padding value, in pixels, for right edge.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>The padding value, in pixels, for bottom edge.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Spread_CellPadding__ctor_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor*"></a>
<h4 id="FarPoint_Win_Spread_CellPadding__ctor_System_Runtime_Serialization_SerializationInfo_System_Runtime_Serialization_StreamingContext_" data-uid="FarPoint.Win.Spread.CellPadding.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)">CellPadding(SerializationInfo, StreamingContext)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the CellPadding class from serialization.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected CellPadding(SerializationInfo info, StreamingContext context)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Sub New(info As SerializationInfo, context As StreamingContext)</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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.serializationinfo">SerializationInfo</a></td>
      <td><span class="parametername">info</span></td>
      <td><p>Serialization information</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.serialization.streamingcontext">StreamingContext</a></td>
      <td><span class="parametername">context</span></td>
      <td><p>Streaming context</p>
</td>
    </tr>
  </tbody>
</table>
</div>
