# GrapeCity.Documents.Word.Tab

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Tab" data-uid="GrapeCity.Documents.Word.Tab" class="text-break">Tab Class
</h1>
  <div class="markdown level0 summary"><p>Represents an absolute position tab element in a body content.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a></div>
    <div class="level3"><span class="xref">Tab</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Tab_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Tab : Text, IBrowsable&lt;Text&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Tab
    Inherits Text
    Implements IBrowsable(Of Text)</code></pre>
  </div>
  <h5 id="GrapeCity_Documents_Word_Tab_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>An absolute position tab is a character that is used to advance the position on the current line of text
when displaying content, using the following logic:</p>
<p>
Regardless of any number of custom tab stops defined using the <a class="xref" href="GrapeCity.Documents.Word.TabStop.html">TabStop</a>,
the absolute position tab character shall advance to the position specified by its <a class="xref" href="GrapeCity.Documents.Word.Tab.Alignment.html#GrapeCity_Documents_Word_Tab_Alignment">Alignment</a> and <a class="xref" href="GrapeCity.Documents.Word.Tab.RelativeTo.html#GrapeCity_Documents_Word_Tab_RelativeTo">RelativeTo</a> properties.
</p>
The resulting end position of the tab character shall not be affected by the addition of any custom tab stops
or changes to the value of the <a class="xref" href="GrapeCity.Documents.Word.StyleCollection.DefaultTabStop.html#GrapeCity_Documents_Word_StyleCollection_DefaultTabStop">DefaultTabStop</a>.
<p>
If the alignment location specified by the positional tab cannot be found on the current line
because the starting location is past that point, then the tab character shall advance to that location on the next available line in the document.
</p>
</div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Tab_Alignment" data-uid="GrapeCity.Documents.Word.Tab.Alignment">
          <a class="xref" href="GrapeCity.Documents.Word.Tab.Alignment.html#GrapeCity_Documents_Word_Tab_Alignment">Alignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tab alignment.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Tab_Leader" data-uid="GrapeCity.Documents.Word.Tab.Leader">
          <a class="xref" href="GrapeCity.Documents.Word.Tab.Leader.html#GrapeCity_Documents_Word_Tab_Leader">Leader</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the tab leader character.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Tab_RelativeTo" data-uid="GrapeCity.Documents.Word.Tab.RelativeTo">
          <a class="xref" href="GrapeCity.Documents.Word.Tab.RelativeTo.html#GrapeCity_Documents_Word_Tab_RelativeTo">RelativeTo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the extent to calculate the position of the tab.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Tab_Value" data-uid="GrapeCity.Documents.Word.Tab.Value">
          <a class="xref" href="GrapeCity.Documents.Word.Tab.Value.html#GrapeCity_Documents_Word_Tab_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text representation of the tab.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Word_Tab_Split_System_Int32_" data-uid="GrapeCity.Documents.Word.Tab.Split(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.Tab.Split.html#GrapeCity_Documents_Word_Tab_Split_System_Int32_">Split(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Splitting of a tab is not supported.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
