# GrapeCity.Spreadsheet.FormControls.ICheckBoxes.Add

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_FormControls_ICheckBoxes_Add_" data-uid="GrapeCity.Spreadsheet.FormControls.ICheckBoxes.Add*">Add Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_FormControls_ICheckBoxes_Add_" data-uid="GrapeCity.Spreadsheet.FormControls.ICheckBoxes.Add*"></a>
<h4 id="GrapeCity_Spreadsheet_FormControls_ICheckBoxes_Add_System_Double_System_Double_System_Double_System_Double_" data-uid="GrapeCity.Spreadsheet.FormControls.ICheckBoxes.Add(System.Double,System.Double,System.Double,System.Double)">Add(double, double, double, double)</h4>
<div class="markdown level1 summary"><p>Creates a check box control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">ICheckBox Add(double x, double y, double width, double height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Add(x As Double, y As Double, width As Double, height As Double) As ICheckBox</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.double">double</a></td>
      <td><span class="parametername">x</span></td>
      <td><p>The initial horizontal position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">y</span></td>
      <td><p>The initial vertical position of the shape, in pixels, relative to the upper-left corner of cell A1 on a worksheet.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>The initial width, in pixels, of the shape.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>The initial height, in pixels, of the shape.</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><a class="xref" href="GrapeCity.Spreadsheet.FormControls.ICheckBox.html">ICheckBox</a></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.FormControls.ICheckBox.html">ICheckBox</a> object represents the new check box control.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
