# FarPoint.Win.Chart.PaddingF.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Win_Chart_PaddingF__ctor_" data-uid="FarPoint.Win.Chart.PaddingF.#ctor*">PaddingF Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Win_Chart_PaddingF__ctor_" data-uid="FarPoint.Win.Chart.PaddingF.#ctor*"></a>
<h4 id="FarPoint_Win_Chart_PaddingF__ctor_System_Single_" data-uid="FarPoint.Win.Chart.PaddingF.#ctor(System.Single)">PaddingF(float)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the PaddingF class using the same
padding size for all edges.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaddingF(float all)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(all As Single)</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.single">float</a></td>
      <td><span class="parametername">all</span></td>
      <td><p>Padding size for all edges</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Win_Chart_PaddingF__ctor_" data-uid="FarPoint.Win.Chart.PaddingF.#ctor*"></a>
<h4 id="FarPoint_Win_Chart_PaddingF__ctor_System_Single_System_Single_System_Single_System_Single_" data-uid="FarPoint.Win.Chart.PaddingF.#ctor(System.Single,System.Single,System.Single,System.Single)">PaddingF(float, float, float, float)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of the PaddingF class using a separate
padding size for each edge.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public PaddingF(float left, float top, float right, float bottom)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(left As Single, top As Single, right As Single, bottom As Single)</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.single">float</a></td>
      <td><span class="parametername">left</span></td>
      <td><p>Padding size for left edge</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">top</span></td>
      <td><p>Padding size for top edge</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">right</span></td>
      <td><p>Padding size for right edge</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">bottom</span></td>
      <td><p>Padding size for bottom edge</p>
</td>
    </tr>
  </tbody>
</table>
</div>
