# GrapeCity.Documents.Word.Run.AddTab

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Run_AddTab_" data-uid="GrapeCity.Documents.Word.Run.AddTab*">AddTab Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Run_AddTab_" data-uid="GrapeCity.Documents.Word.Run.AddTab*"></a>
<h4 id="GrapeCity_Documents_Word_Run_AddTab" data-uid="GrapeCity.Documents.Word.Run.AddTab">AddTab()</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to the end of the run.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Tab AddTab()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTab() As Tab</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.Tab.html">Tab</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Run_AddTab_" data-uid="GrapeCity.Documents.Word.Run.AddTab*"></a>
<h4 id="GrapeCity_Documents_Word_Run_AddTab_GrapeCity_Documents_Word_TabAlignment_" data-uid="GrapeCity.Documents.Word.Run.AddTab(GrapeCity.Documents.Word.TabAlignment)">AddTab(TabAlignment)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to the end of the run.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Tab AddTab(TabAlignment alignment)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTab(alignment As TabAlignment) As Tab</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.TabAlignment.html">TabAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>The tab alignment.</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.Tab.html">Tab</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Run_AddTab_" data-uid="GrapeCity.Documents.Word.Run.AddTab*"></a>
<h4 id="GrapeCity_Documents_Word_Run_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_" data-uid="GrapeCity.Documents.Word.Run.AddTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader)">AddTab(TabAlignment, TabLeader)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to the end of the run.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Tab AddTab(TabAlignment alignment, TabLeader leader)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTab(alignment As TabAlignment, leader As TabLeader) As Tab</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.TabAlignment.html">TabAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>The tab alignment.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.TabLeader.html">TabLeader</a></td>
      <td><span class="parametername">leader</span></td>
      <td><p>The tab leader character.</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.Tab.html">Tab</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a>.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Word_Run_AddTab_" data-uid="GrapeCity.Documents.Word.Run.AddTab*"></a>
<h4 id="GrapeCity_Documents_Word_Run_AddTab_GrapeCity_Documents_Word_TabAlignment_GrapeCity_Documents_Word_TabLeader_GrapeCity_Documents_Word_TabRelativeTo_" data-uid="GrapeCity.Documents.Word.Run.AddTab(GrapeCity.Documents.Word.TabAlignment,GrapeCity.Documents.Word.TabLeader,GrapeCity.Documents.Word.TabRelativeTo)">AddTab(TabAlignment, TabLeader, TabRelativeTo)</h4>
<div class="markdown level1 summary"><p>Adds a <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> to the end of the run.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Tab AddTab(TabAlignment alignment, TabLeader leader, TabRelativeTo relativeTo)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function AddTab(alignment As TabAlignment, leader As TabLeader, relativeTo As TabRelativeTo) As Tab</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.TabAlignment.html">TabAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>The tab alignment.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.TabLeader.html">TabLeader</a></td>
      <td><span class="parametername">leader</span></td>
      <td><p>The tab leader character.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.TabRelativeTo.html">TabRelativeTo</a></td>
      <td><span class="parametername">relativeTo</span></td>
      <td><p>The extent to calculate the position of the tab.</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.Tab.html">Tab</a></td>
      <td><p>The added <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
