# C1.WPF.RichTextBox.C1Line

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1Line" data-uid="C1.WPF.RichTextBox.C1Line" class="text-break">C1Line Class
</h1>
  <div class="markdown level0 summary"><p>Represents a line of text generated by a <a class="xref" href="C1.WPF.RichTextBox.C1FlowView.html">C1FlowView</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">C1Line</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.RichTextBox.html">C1.WPF.RichTextBox</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.RichTextBox.4.6.2.dll</h6>
  <h5 id="C1_WPF_RichTextBox_C1Line_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1Line</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1Line</code></pre>
  </div>
  <h5 id="C1_WPF_RichTextBox_C1Line_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>A line contains a collection of <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>s. Each line fragment
contains a section of a <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>, this may be a run of text, or
a whole <a class="xref" href="C1.WPF.RichTextBox.Documents.C1Block.html">C1Block</a>.</p>
</div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Baseline" data-uid="C1.WPF.RichTextBox.C1Line.Baseline">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Baseline.html#C1_WPF_RichTextBox_C1Line_Baseline">Baseline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the distance between the top of the <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> and its baseline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Fragments" data-uid="C1.WPF.RichTextBox.C1Line.Fragments">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Fragments.html#C1_WPF_RichTextBox_C1Line_Fragments">Fragments</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of fragments contained in this line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Height" data-uid="C1.WPF.RichTextBox.C1Line.Height">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Height.html#C1_WPF_RichTextBox_C1Line_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Left" data-uid="C1.WPF.RichTextBox.C1Line.Left">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Left.html#C1_WPF_RichTextBox_C1Line_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the left coordinate of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> relative to the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Next" data-uid="C1.WPF.RichTextBox.C1Line.Next">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Next.html#C1_WPF_RichTextBox_C1Line_Next">Next</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next line in the same <a class="xref" href="C1.WPF.RichTextBox.C1FlowView.html">C1FlowView</a>, or null if it is the last.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Parent" data-uid="C1.WPF.RichTextBox.C1Line.Parent">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Parent.html#C1_WPF_RichTextBox_C1Line_Parent">Parent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.C1FlowView.html">C1FlowView</a> that created this line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Previous" data-uid="C1.WPF.RichTextBox.C1Line.Previous">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Previous.html#C1_WPF_RichTextBox_C1Line_Previous">Previous</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous line in the same <a class="xref" href="C1.WPF.RichTextBox.C1FlowView.html">C1FlowView</a>, or null if it is the first.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_RelativeLeft" data-uid="C1.WPF.RichTextBox.C1Line.RelativeLeft">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.RelativeLeft.html#C1_WPF_RichTextBox_C1Line_RelativeLeft">RelativeLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the left coordinate of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> relative to its <a class="xref" href="C1.WPF.RichTextBox.C1Line.Parent.html#C1_WPF_RichTextBox_C1Line_Parent">Parent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_RelativeTop" data-uid="C1.WPF.RichTextBox.C1Line.RelativeTop">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.RelativeTop.html#C1_WPF_RichTextBox_C1Line_RelativeTop">RelativeTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the top coordinate of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> relative to its <a class="xref" href="C1.WPF.RichTextBox.C1Line.Parent.html#C1_WPF_RichTextBox_C1Line_Parent">Parent</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Top" data-uid="C1.WPF.RichTextBox.C1Line.Top">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Top.html#C1_WPF_RichTextBox_C1Line_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the top coordinate of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> relative to the document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_TotalWidth" data-uid="C1.WPF.RichTextBox.C1Line.TotalWidth">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.TotalWidth.html#C1_WPF_RichTextBox_C1Line_TotalWidth">TotalWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> including whitespaces at the end.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_Width" data-uid="C1.WPF.RichTextBox.C1Line.Width">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.Width.html#C1_WPF_RichTextBox_C1Line_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width of this <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> excluding whitespaces at the end.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1Line_XHeight" data-uid="C1.WPF.RichTextBox.C1Line.XHeight">
          <a class="xref" href="C1.WPF.RichTextBox.C1Line.XHeight.html#C1_WPF_RichTextBox_C1Line_XHeight">XHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the distance between the top of the <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a> and its x-height.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
