# GrapeCity.Documents.Excel.IOutline.ShowLevels

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IOutline_ShowLevels_" data-uid="GrapeCity.Documents.Excel.IOutline.ShowLevels*">ShowLevels Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IOutline_ShowLevels_" data-uid="GrapeCity.Documents.Excel.IOutline.ShowLevels*"></a>
<h4 id="GrapeCity_Documents_Excel_IOutline_ShowLevels_System_Int32_System_Int32_" data-uid="GrapeCity.Documents.Excel.IOutline.ShowLevels(System.Int32,System.Int32)">ShowLevels(int, int)</h4>
<div class="markdown level1 summary"><p>Displays the specified number of row and column levels of an outline.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void ShowLevels(int rowLevels = 0, int columnLevels = 0)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub ShowLevels(Optional rowLevels As Integer = 0, Optional columnLevels As Integer = 0)</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">rowLevels</span></td>
      <td><p>Optional Object. Specifies the number of row levels of an outline to display. If the outline has fewer levels than the number specified, it
displays all the levels. If this argument is 0 (zero) or is omitted, no action is taken on rows.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">columnLevels</span></td>
      <td><p>Optional Object. Specifies the number of column levels of an outline to display. If the outline has fewer levels than the number specified, it
displays all the levels. If this argument is 0 (zero) or is omitted, no action is taken on columns.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
