# GrapeCity.Documents.Word.Fields.CharacterRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Fields_CharacterRange" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange" class="text-break">CharacterRange Class
</h1>
  <div class="markdown level0 summary"><p>Represents a continuous range of characters.</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">CharacterRange</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.Fields.html">GrapeCity.Documents.Word.Fields</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Fields_CharacterRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class CharacterRange</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class CharacterRange</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="GrapeCity_Documents_Word_Fields_CharacterRange_From" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.From">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.From.html#GrapeCity_Documents_Word_Fields_CharacterRange_From">From</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the starting character of the range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_CharacterRange_IsAll" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.IsAll">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.IsAll.html#GrapeCity_Documents_Word_Fields_CharacterRange_IsAll">IsAll</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the range includes all characters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_CharacterRange_To" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.To">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.To.html#GrapeCity_Documents_Word_Fields_CharacterRange_To">To</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the ending character of the range.</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="GrapeCity_Documents_Word_Fields_CharacterRange_All" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.All">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.All.html#GrapeCity_Documents_Word_Fields_CharacterRange_All">All()</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the range to include all characters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_CharacterRange_InRange_System_Char_" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.InRange(System.Char)">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.InRange.html#GrapeCity_Documents_Word_Fields_CharacterRange_InRange_System_Char_">InRange(char)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether a given character is in the current range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_CharacterRange_Set_System_Char_System_Char_" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.Set(System.Char,System.Char)">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.Set.html#GrapeCity_Documents_Word_Fields_CharacterRange_Set_System_Char_System_Char_">Set(char, char)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the current range of characters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_CharacterRange_ToString" data-uid="GrapeCity.Documents.Word.Fields.CharacterRange.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.CharacterRange.ToString.html#GrapeCity_Documents_Word_Fields_CharacterRange_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
