# GrapeCity.Documents.Excel.Drawing.ITextRange

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_Drawing_ITextRange" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange" class="text-break">ITextRange Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the text frame in the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IShape.html">IShape</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.Drawing.html">GrapeCity.Documents.Excel.Drawing</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_Drawing_ITextRange_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITextRange : IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ITextRange
    Inherits IEnumerable</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_Excel_Drawing_ITextRange_Count" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Count">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Count.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the number of objects in the collection (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Font" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Font">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Font.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IFontFormat.html">IFontFormat</a> object that represents character formatting for the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.IFontFormat.html">IFontFormat</a> object (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Index" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Index">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Index.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index in the collection (read-only).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Item_System_Int32_" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Item(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Item.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.html">ITextRange</a> with the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Paragraphs" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Paragraphs">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Paragraphs.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Paragraphs">Paragraphs</a>
        </td>
        <td class="markdown level1 summary"><p>Get the paragraphs of <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.html">ITextRange</a></p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Runs" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Runs">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Runs.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Runs">Runs</a>
        </td>
        <td class="markdown level1 summary"><p>Get the runs of <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.html">ITextRange</a></p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Text" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Text">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Text.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a String value that represents the text in a text range (read/write).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_TextAlignment" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.TextAlignment">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.TextAlignment.html#GrapeCity_Documents_Excel_Drawing_ITextRange_TextAlignment">TextAlignment</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the horizontal alignment of the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Type" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Type">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Type.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Type">Type</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the type of <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.html">ITextRange</a>, such as <a class="xref" href="GrapeCity.Documents.Excel.Drawing.TextRangeType.html">TextRangeType</a>.Body, <a class="xref" href="GrapeCity.Documents.Excel.Drawing.TextRangeType.html">TextRangeType</a>.Paragrapsh, or <a class="xref" href="GrapeCity.Documents.Excel.Drawing.TextRangeType.html">TextRangeType</a>.Run.</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_Excel_Drawing_ITextRange_Add_System_String_System_Int32_" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Add(System.String,System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Add.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Add_System_String_System_Int32_">Add(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds text to the specified collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Drawing_ITextRange_Delete" data-uid="GrapeCity.Documents.Excel.Drawing.ITextRange.Delete">
          <a class="xref" href="GrapeCity.Documents.Excel.Drawing.ITextRange.Delete.html#GrapeCity_Documents_Excel_Drawing_ITextRange_Delete">Delete()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes from parent.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
