# GrapeCity.Documents.Word.Cell.AddTable

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*">AddTable Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable" data-uid="GrapeCity.Documents.Word.Cell.AddTable">AddTable()</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable() As Table</code></pre>
</div>
<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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Cell.AddTable(GrapeCity.Documents.Word.Style)">AddTable(Style)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable(Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable(style As Style) As Table</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.Word.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The table style.</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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Word.Cell.AddTable(System.Int32,System.Int32)">AddTable(int, int)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable(int columns, int rows)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable(columns As Integer, rows As Integer) As Table</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">columns</span></td>
      <td><p>The number of columns in the new table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rows</span></td>
      <td><p>The number of rows in the new table.</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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable_System_Int32_System_Int32_GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Cell.AddTable(System.Int32,System.Int32,GrapeCity.Documents.Word.Style)">AddTable(int, int, Style)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable(int columns, int rows, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable(columns As Integer, rows As Integer, style As Style) As Table</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">columns</span></td>
      <td><p>The number of columns in the new table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">rows</span></td>
      <td><p>The number of rows in the new table.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The table style.</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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable_System_String_____" data-uid="GrapeCity.Documents.Word.Cell.AddTable(System.String[][])">AddTable(string[][])</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable(string[][] texts)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable(texts As String()()) As Table</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.string">string</a>[][]</td>
      <td><span class="parametername">texts</span></td>
      <td><p>A two dimensional array of texts to put in the cells.
The first dimension determines the number of rows,
the second the number of cells.</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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Cell_AddTable_" data-uid="GrapeCity.Documents.Word.Cell.AddTable*"></a>
<h4 id="GrapeCity_Documents_Word_Cell_AddTable_System_String_____GrapeCity_Documents_Word_Style_" data-uid="GrapeCity.Documents.Word.Cell.AddTable(System.String[][],GrapeCity.Documents.Word.Style)">AddTable(string[][], Style)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a> to the end of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Table AddTable(string[][] texts, Style style)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTable(texts As String()(), style As Style) As Table</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.string">string</a>[][]</td>
      <td><span class="parametername">texts</span></td>
      <td><p>A two dimensional array of texts to put in the cells.
The first dimension determines the number of rows,
the second the number of cells.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.Style.html">Style</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>The table style.</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.Documents.Word.Table.html">Table</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Cell.Table.html#GrapeCity_Documents_Word_Cell_Table">Table</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
