# C1.Win.C1Chart.Margin

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Chart_Margin" data-uid="C1.Win.C1Chart.Margin" class="text-break">Margin Class
</h1>
  <div class="markdown level0 summary"><p>Specifies the margins of the chart element.</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">Margin</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Chart.html">C1.Win.C1Chart</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Chart.4.8.dll</h6>
  <h5 id="C1_Win_C1Chart_Margin_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(Margin.TypeConverter))]
public class Margin</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(Margin.TypeConverter))&gt;
Public Class Margin</code></pre>
  </div>
  <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="C1_Win_C1Chart_Margin_Bottom" data-uid="C1.Win.C1Chart.Margin.Bottom">
          <a class="xref" href="C1.Win.C1Chart.Margin.Bottom.html#C1_Win_C1Chart_Margin_Bottom">Bottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels between the bottom edge of the ChartArea and the ChartArea contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Margin_Left" data-uid="C1.Win.C1Chart.Margin.Left">
          <a class="xref" href="C1.Win.C1Chart.Margin.Left.html#C1_Win_C1Chart_Margin_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels between the left edge of the ChartArea and the ChartArea contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Margin_Right" data-uid="C1.Win.C1Chart.Margin.Right">
          <a class="xref" href="C1.Win.C1Chart.Margin.Right.html#C1_Win_C1Chart_Margin_Right">Right</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels between the right edge of the ChartArea and the ChartArea contents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Chart_Margin_Top" data-uid="C1.Win.C1Chart.Margin.Top">
          <a class="xref" href="C1.Win.C1Chart.Margin.Top.html#C1_Win_C1Chart_Margin_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of pixels between the top edge of the ChartArea and the ChartArea contents.</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="C1_Win_C1Chart_Margin_SetMargins_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="C1.Win.C1Chart.Margin.SetMargins(System.Int32,System.Int32,System.Int32,System.Int32)">
          <a class="xref" href="C1.Win.C1Chart.Margin.SetMargins.html#C1_Win_C1Chart_Margin_SetMargins_System_Int32_System_Int32_System_Int32_System_Int32_">SetMargins(int, int, int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets all of the Margin properties at once.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
