# C1.C1Excel.XLHorizTextAlign

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_C1Excel_XLHorizTextAlign" data-uid="C1.C1Excel.XLHorizTextAlign" class="text-break">XLHorizTextAlign Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies horizontal text alignment.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Excel.html">C1.C1Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Excel.4.8.dll</h6>
  <h5 id="C1_C1Excel_XLHorizTextAlign_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum XLHorizTextAlign : short</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum XLHorizTextAlign As Short</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_C1Excel_XLHorizTextAlign_Center">Center</td>
        <td><p>Text is centered.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLHorizTextAlign_Justify">Justify</td>
        <td><p>Text is justified.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLHorizTextAlign_Left">Left</td>
        <td><p>Text is left aligned.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Excel_XLHorizTextAlign_Right">Right</td>
        <td><p>Text is right aligned.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
