# GrapeCity.Spreadsheet.ITable.Resize

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_ITable_Resize_" data-uid="GrapeCity.Spreadsheet.ITable.Resize*">Resize Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_ITable_Resize_" data-uid="GrapeCity.Spreadsheet.ITable.Resize*"></a>
<h4 id="GrapeCity_Spreadsheet_ITable_Resize_System_Int32_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.ITable.Resize(System.Int32,System.Int32,System.Int32)">Resize(int, int, int)</h4>
<div class="markdown level1 summary"><p>Resizes the boundary of this table over a new range. No cells are inserted or moved.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool Resize(int column, int column2, int rowCount = -1)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Resize(column As Integer, column2 As Integer, Optional rowCount As Integer = -1) As Boolean</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">column</span></td>
      <td><p>An integer value indicates the new worksheet left column index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">column2</span></td>
      <td><p>An integer value indicates the new worksheet right column index.</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>An integer value indicates the new table row count. Default value is -1 that indicates the row count remained.</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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the table is resized successful, <code>false</code> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ITable_Resize_" data-uid="GrapeCity.Spreadsheet.ITable.Resize*"></a>
<h4 id="GrapeCity_Spreadsheet_ITable_Resize_System_String_" data-uid="GrapeCity.Spreadsheet.ITable.Resize(System.String)">Resize(string)</h4>
<div class="markdown level1 summary"><p>Resizes the boundary of this table over a new range. No cells are inserted or moved.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool Resize(string range)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Resize(range As String) As Boolean</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">range</span></td>
      <td><p>The new range of the 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the table is resized successful, <code>false</code> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Spreadsheet_ITable_Resize_" data-uid="GrapeCity.Spreadsheet.ITable.Resize*"></a>
<h4 id="GrapeCity_Spreadsheet_ITable_Resize_GrapeCity_Spreadsheet_IRange_" data-uid="GrapeCity.Spreadsheet.ITable.Resize(GrapeCity.Spreadsheet.IRange)">Resize(IRange)</h4>
<div class="markdown level1 summary"><p>Resizes the boundary of this table over a new range. No cells are inserted or moved.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool Resize(IRange range)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function Resize(range As IRange) As Boolean</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.Spreadsheet.IRange.html">IRange</a></td>
      <td><span class="parametername">range</span></td>
      <td><p>The new range of the 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="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><p><code>true</code> if the table is resized successful, <code>false</code> otherwise.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
