# GrapeCity.Documents.Text.TabStop.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_TabStop__ctor_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor*">TabStop Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_TabStop__ctor_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_TabStop__ctor_System_Single_GrapeCity_Documents_Text_TabStopAlignment_GrapeCity_Documents_Text_TabStopLeader_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor(System.Single,GrapeCity.Documents.Text.TabStopAlignment,GrapeCity.Documents.Text.TabStopLeader)">TabStop(float, TabStopAlignment, TabStopLeader)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TabStop.html">TabStop</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabStop(float offset, TabStopAlignment alignment = TabStopAlignment.Leading, TabStopLeader leader = TabStopLeader.None)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(offset As Single, Optional alignment As TabStopAlignment = TabStopAlignment.Leading, Optional leader As TabStopLeader = TabStopLeader.None)</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.single">float</a></td>
      <td><span class="parametername">offset</span></td>
      <td><p>The tab stop position, in graphic units.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.TabStopAlignment.html">TabStopAlignment</a></td>
      <td><span class="parametername">alignment</span></td>
      <td><p>Specifies how the text is aligned relative to the tab stop.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.TabStopLeader.html">TabStopLeader</a></td>
      <td><span class="parametername">leader</span></td>
      <td><p>Specifies the type of the leader line.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_TabStop__ctor_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_TabStop__ctor_System_Single_System_Char_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor(System.Single,System.Char)">TabStop(float, char)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TabStop.html">TabStop</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabStop(float offset, char separator)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(offset As Single, separator As Char)</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.single">float</a></td>
      <td><span class="parametername">offset</span></td>
      <td><p>The tab stop position, in graphic units.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.char">char</a></td>
      <td><span class="parametername">separator</span></td>
      <td><p>The separator character (the Alignment property is set to 'SeparatorTab').</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Documents_Text_TabStop__ctor_System_Single_System_Char__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the separator character code exceeds 0xFFFF, use the other constructor and set the Separator property explicitly.</p>
</div>


<a id="GrapeCity_Documents_Text_TabStop__ctor_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_TabStop__ctor_GrapeCity_Documents_Text_TabStop_" data-uid="GrapeCity.Documents.Text.TabStop.#ctor(GrapeCity.Documents.Text.TabStop)">TabStop(TabStop)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Text.TabStop.html">TabStop</a> class copying data from an existing instance.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public TabStop(TabStop source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(source As TabStop)</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.Text.TabStop.html">TabStop</a></td>
      <td><span class="parametername">source</span></td>
      <td><p>The source instance of the <a class="xref" href="GrapeCity.Documents.Text.TabStop.html">TabStop</a> class.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
