# GrapeCity.Documents.Excel.IRichText

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_IRichText" data-uid="GrapeCity.Documents.Excel.IRichText" class="text-break">IRichText Interface
</h1>
  <div class="markdown level0 summary"><p>Represents the rich text class for a cell.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_IRichText_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IRichText : IEnumerable&lt;ITextRun&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IRichText
    Inherits IEnumerable(Of ITextRun), 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_IRichText_Count" data-uid="GrapeCity.Documents.Excel.IRichText.Count">
          <a class="xref" href="GrapeCity.Documents.Excel.IRichText.Count.html#GrapeCity_Documents_Excel_IRichText_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the count of <a class="xref" href="GrapeCity.Documents.Excel.ITextRun.html">ITextRun</a> objects.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_IRichText_PlainText" data-uid="GrapeCity.Documents.Excel.IRichText.PlainText">
          <a class="xref" href="GrapeCity.Documents.Excel.IRichText.PlainText.html#GrapeCity_Documents_Excel_IRichText_PlainText">PlainText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the plain text that is composed of all <a class="xref" href="GrapeCity.Documents.Excel.ITextRun.html">ITextRun</a> objects.</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_IRichText_Add_System_String_" data-uid="GrapeCity.Documents.Excel.IRichText.Add(System.String)">
          <a class="xref" href="GrapeCity.Documents.Excel.IRichText.Add.html#GrapeCity_Documents_Excel_IRichText_Add_System_String_">Add(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a text run into current rich text object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
