# C1.WPF.RichTextBox.C1LineFragment

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_RichTextBox_C1LineFragment" data-uid="C1.WPF.RichTextBox.C1LineFragment" class="text-break">C1LineFragment Class
</h1>
  <div class="markdown level0 summary"><p>Represents a fragment of a <a class="xref" href="C1.WPF.RichTextBox.C1Line.html">C1Line</a>. Its always associated with one <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</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">C1LineFragment</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_C1LineFragment_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1LineFragment</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1LineFragment</code></pre>
  </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_C1LineFragment_Baseline" data-uid="C1.WPF.RichTextBox.C1LineFragment.Baseline">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Baseline.html#C1_WPF_RichTextBox_C1LineFragment_Baseline">Baseline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the distance between the top of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a> and its baseline.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Element" data-uid="C1.WPF.RichTextBox.C1LineFragment.Element">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Element.html#C1_WPF_RichTextBox_C1LineFragment_Element">Element</a>
        </td>
        <td class="markdown level1 summary"><p>The <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a> contained in this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_End" data-uid="C1.WPF.RichTextBox.C1LineFragment.End">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.End.html#C1_WPF_RichTextBox_C1LineFragment_End">End</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the end position of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Height" data-uid="C1.WPF.RichTextBox.C1LineFragment.Height">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Height.html#C1_WPF_RichTextBox_C1LineFragment_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the height, in pixels, of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Left" data-uid="C1.WPF.RichTextBox.C1LineFragment.Left">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Left.html#C1_WPF_RichTextBox_C1LineFragment_Left">Left</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the left coordinate, in document coordinates, of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_RelativeTop" data-uid="C1.WPF.RichTextBox.C1LineFragment.RelativeTop">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.RelativeTop.html#C1_WPF_RichTextBox_C1LineFragment_RelativeTop">RelativeTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the top coordinate, in line coordinates, of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Start" data-uid="C1.WPF.RichTextBox.C1LineFragment.Start">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Start.html#C1_WPF_RichTextBox_C1LineFragment_Start">Start</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the start position of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Top" data-uid="C1.WPF.RichTextBox.C1LineFragment.Top">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Top.html#C1_WPF_RichTextBox_C1LineFragment_Top">Top</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the top coordinate, in document coordinates, of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_View" data-uid="C1.WPF.RichTextBox.C1LineFragment.View">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.View.html#C1_WPF_RichTextBox_C1LineFragment_View">View</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.WPF.RichTextBox.C1TextElementView.html">C1TextElementView</a> of the associated <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextElement.html">C1TextElement</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_Width" data-uid="C1.WPF.RichTextBox.C1LineFragment.Width">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Width.html#C1_WPF_RichTextBox_C1LineFragment_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the width, in pixels, of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_RichTextBox_C1LineFragment_XHeight" data-uid="C1.WPF.RichTextBox.C1LineFragment.XHeight">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.XHeight.html#C1_WPF_RichTextBox_C1LineFragment_XHeight">XHeight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the distance between the top of this <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.html">C1LineFragment</a> and its x-height.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</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_C1LineFragment_Measure_System_Int32_System_Int32_" data-uid="C1.WPF.RichTextBox.C1LineFragment.Measure(System.Int32,System.Int32)">
          <a class="xref" href="C1.WPF.RichTextBox.C1LineFragment.Measure.html#C1_WPF_RichTextBox_C1LineFragment_Measure_System_Int32_System_Int32_">Measure(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the width of this fragment between two <a class="xref" href="C1.WPF.RichTextBox.Documents.C1TextPointer.html">C1TextPointer</a> offsets.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
