# GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*">AddMissingCells Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_GrapeCity_Documents_Drawing_CellStyle_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(GrapeCity.Documents.Drawing.CellStyle)">AddMissingCells(CellStyle)</h4>
<div class="markdown level1 summary"><p>Adds empty regular cells to fill out the gaps in the table.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(CellStyle cellStyle = null)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(Optional cellStyle As CellStyle = Nothing)</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="GrapeCity.Documents.Drawing.CellStyle.html">CellStyle</a></td>
      <td><span class="parametername">cellStyle</span></td>
      <td><p>The style of the new cells, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> to apply the default cell style.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(System.Int32,System.Int32,System.Int32,System.Int32)">AddMissingCells(int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Adds empty regular cells to fill out the gaps in the specified rectangular range of table cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(int rowIndex, int columnIndex, int rowCount, int columnCount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(rowIndex As Integer, columnIndex As Integer, rowCount As Integer, columnCount 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">rowIndex</span></td>
      <td><p>Index of top row in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>Index of left column in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns in the cell range.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_GrapeCity_Documents_Drawing_CellStyle_System_Int32_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(GrapeCity.Documents.Drawing.CellStyle,System.Int32,System.Int32,System.Int32,System.Int32)">AddMissingCells(CellStyle, int, int, int, int)</h4>
<div class="markdown level1 summary"><p>Adds empty regular cells to fill out the gaps in the specified rectangular range of table cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(CellStyle cellStyle, int rowIndex, int columnIndex, int rowCount, int columnCount)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(cellStyle As CellStyle, rowIndex As Integer, columnIndex As Integer, rowCount As Integer, columnCount 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="GrapeCity.Documents.Drawing.CellStyle.html">CellStyle</a></td>
      <td><span class="parametername">cellStyle</span></td>
      <td><p>The style of the new cells, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> to apply the default cell style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowIndex</span></td>
      <td><p>Index of top row in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>Index of left column in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns in the cell range.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_GrapeCity_Documents_Drawing_CellStyle_System_Object_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(GrapeCity.Documents.Drawing.CellStyle,System.Object)">AddMissingCells(CellStyle, object)</h4>
<div class="markdown level1 summary"><p>Adds the regular cells to fill out the gaps in the table.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(CellStyle cellStyle, object data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(cellStyle As CellStyle, data As Object)</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="GrapeCity.Documents.Drawing.CellStyle.html">CellStyle</a></td>
      <td><span class="parametername">cellStyle</span></td>
      <td><p>The style of the new cells, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> to apply the default cell style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>A data object or string to be displayed in the cells.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_System_Int32_System_Int32_System_Int32_System_Int32_System_Object_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(System.Int32,System.Int32,System.Int32,System.Int32,System.Object)">AddMissingCells(int, int, int, int, object)</h4>
<div class="markdown level1 summary"><p>Adds the regular cells to fill out the gaps in the specified rectangular range of table cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(int rowIndex, int columnIndex, int rowCount, int columnCount, object data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(rowIndex As Integer, columnIndex As Integer, rowCount As Integer, columnCount As Integer, data As Object)</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">rowIndex</span></td>
      <td><p>Index of top row in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>Index of left column in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>A data object or string to be displayed in the cells.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells*"></a>
<h4 id="GrapeCity_Documents_Drawing_TableRenderer_AddMissingCells_GrapeCity_Documents_Drawing_CellStyle_System_Int32_System_Int32_System_Int32_System_Int32_System_Object_" data-uid="GrapeCity.Documents.Drawing.TableRenderer.AddMissingCells(GrapeCity.Documents.Drawing.CellStyle,System.Int32,System.Int32,System.Int32,System.Int32,System.Object)">AddMissingCells(CellStyle, int, int, int, int, object)</h4>
<div class="markdown level1 summary"><p>Adds the regular cells to fill out the gaps in the specified rectangular range of table cells.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void AddMissingCells(CellStyle cellStyle, int rowIndex, int columnIndex, int rowCount, int columnCount, object data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub AddMissingCells(cellStyle As CellStyle, rowIndex As Integer, columnIndex As Integer, rowCount As Integer, columnCount As Integer, data As Object)</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="GrapeCity.Documents.Drawing.CellStyle.html">CellStyle</a></td>
      <td><span class="parametername">cellStyle</span></td>
      <td><p>The style of the new cells, or <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> to apply the default cell style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowIndex</span></td>
      <td><p>Index of top row in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnIndex</span></td>
      <td><p>Index of left column in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rowCount</span></td>
      <td><p>Number of rows in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnCount</span></td>
      <td><p>Number of columns in the cell range.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>A data object or string to be displayed in the cells.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
