# C1.Util.DX.DirectWrite.TextRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_DirectWrite_TextRange" data-uid="C1.Util.DX.DirectWrite.TextRange" class="text-break">TextRange Struct
</h1>
  <div class="markdown level0 summary"><p>DWRITE_TEXT_RANGE</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.4.8.dll</h6>
  <h5 id="C1_Util_DX_DirectWrite_TextRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct TextRange</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure TextRange</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRange__ctor_System_Int32_System_Int32_" data-uid="C1.Util.DX.DirectWrite.TextRange.#ctor(System.Int32,System.Int32)">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRange.-ctor.html#C1_Util_DX_DirectWrite_TextRange__ctor_System_Int32_System_Int32_">TextRange(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Util.DX.DirectWrite.TextRange.html">TextRange</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRange_Length" data-uid="C1.Util.DX.DirectWrite.TextRange.Length">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRange.Length.html">Length</a>
        </td>
        <td class="markdown level1 summary"><p>unsigned int length</p>
</td>
      </tr>
      <tr>
        <td id="C1_Util_DX_DirectWrite_TextRange_StartPosition" data-uid="C1.Util.DX.DirectWrite.TextRange.StartPosition">
          <a class="xref" href="C1.Util.DX.DirectWrite.TextRange.StartPosition.html">StartPosition</a>
        </td>
        <td class="markdown level1 summary"><p>unsigned int startPosition</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
