# C1.Util.DX.DirectWrite.TextAlignment

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Util_DX_DirectWrite_TextAlignment" data-uid="C1.Util.DX.DirectWrite.TextAlignment" class="text-break">TextAlignment Enum
</h1>
  <div class="markdown level0 summary"><p>DWRITE_TEXT_ALIGNMENT</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.DirectWrite.html">C1.Util.DX.DirectWrite</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_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="C1_Util_DX_DirectWrite_TextAlignment_Center">Center</td>
        <td><p>DWRITE_TEXT_ALIGNMENT_CENTER</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextAlignment_Justified">Justified</td>
        <td><p>DWRITE_TEXT_ALIGNMENT_JUSTIFIED</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextAlignment_Leading">Leading</td>
        <td><p>DWRITE_TEXT_ALIGNMENT_LEADING</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextAlignment_Trailing">Trailing</td>
        <td><p>DWRITE_TEXT_ALIGNMENT_TRAILING</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
