# C1.WPF.RichTextBox.Documents.C1TextAlignment

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_RichTextBox_Documents_C1TextAlignment" data-uid="C1.WPF.RichTextBox.Documents.C1TextAlignment" class="text-break">C1TextAlignment Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies whether text is centered, left-aligned, right-aligned or justified.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.Documents.html">C1.WPF.RichTextBox.Documents</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_C1TextAlignment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum C1TextAlignment</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum C1TextAlignment</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="C1_WPF_RichTextBox_Documents_C1TextAlignment_Center">Center</td>
        <td><p>Text is centered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1TextAlignment_Justify">Justify</td>
        <td><p>Text is justified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1TextAlignment_Left">Left</td>
        <td><p>Text is aligned to the left.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1TextAlignment_Right">Right</td>
        <td><p>Text is aligned to the right.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
