# GrapeCity.Documents.Text.TextAlignment

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Text_TextAlignment" data-uid="GrapeCity.Documents.Text.TextAlignment" class="text-break">TextAlignment Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the alignment of paragraph text along the reading direction axis.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_TextAlignment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum TextAlignment</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum TextAlignment</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_TextAlignment_Center">Center</td>
        <td><p>The center of the paragraph text is aligned to the center of the layout box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextAlignment_Distributed">Distributed</td>
        <td><p>Justifies all text lines regardless of paragraph breaks.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextAlignment_Justified">Justified</td>
        <td><p>Aligns text to the leading side, and also justifies text to fill the lines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextAlignment_Leading">Leading</td>
        <td><p>The leading edge of the paragraph text is aligned to the leading edge of the layout box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextAlignment_Trailing">Trailing</td>
        <td><p>The trailing edge of the paragraph text is aligned to the trailing edge of the layout box.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
