# C1.WPF.RichTextBox.Documents.C1VerticalAlignment

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment" data-uid="C1.WPF.RichTextBox.Documents.C1VerticalAlignment" class="text-break">C1VerticalAlignment Enum
</h1>
  <div class="markdown level0 summary"><p>Describes how elements are vertically aligned in a line.</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.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum C1VerticalAlignment</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum C1VerticalAlignment</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_C1VerticalAlignment_Baseline">Baseline</td>
        <td><p>The baseline of the element is aligned with the baseline of the parent box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_Bottom">Bottom</td>
        <td><p>The bottom of the element is aligned with the bottom of the parent box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_Middle">Middle</td>
        <td><p>The middle of the element is aligned with the baseline plus half the x-height of the parent box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_Sub">Sub</td>
        <td><p>The baseline of the element is aligned with the subscript baseline for its size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_Super">Super</td>
        <td><p>The baseline of the element is aligned with the superscript baseline for its size.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_Documents_C1VerticalAlignment_Top">Top</td>
        <td><p>The top of the element is aligned with the top of the parent box.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
