# GrapeCity.Documents.Word.Text

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Text" data-uid="GrapeCity.Documents.Word.Text" class="text-break">Text Class
</h1>
  <div class="markdown level0 summary"><p>Represents a text element in a body content.</p>
<p>
A Text belongs to a single <a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a>, which determines its formatting.
Derived classes include <a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</a>, <a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a>,
<a class="xref" href="GrapeCity.Documents.Word.Symbol.html">Symbol</a>, <a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a> and <a class="xref" href="GrapeCity.Documents.Word.LastRenderedPageBreak.html">LastRenderedPageBreak</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"><a class="xref" href="GrapeCity.Documents.Word.ContentObject.html">ContentObject</a></div>
    <div class="level2"><span class="xref">Text</span></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.Break.html">Break</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.FieldCode.html">FieldCode</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.LastRenderedPageBreak.html">LastRenderedPageBreak</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.Symbol.html">Symbol</a></div>
      <div class="level3"><a class="xref" href="GrapeCity.Documents.Word.Tab.html">Tab</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Word.IBrowsable-1.html">IBrowsable</a>&lt;<a class="xref" href="GrapeCity.Documents.Word.Text.html">Text</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Text_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Text : ContentObject, IBrowsable&lt;Text&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Text
    Inherits ContentObject
    Implements IBrowsable(Of Text)</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_Text_IsOMathText" data-uid="GrapeCity.Documents.Word.Text.IsOMathText">
          <a class="xref" href="GrapeCity.Documents.Word.Text.IsOMathText.html#GrapeCity_Documents_Word_Text_IsOMathText">IsOMathText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the text belongs to an Office Math zone.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_Next" data-uid="GrapeCity.Documents.Word.Text.Next">
          <a class="xref" href="GrapeCity.Documents.Word.Text.Next.html#GrapeCity_Documents_Word_Text_Next">Next</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the next text content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_ParentRun" data-uid="GrapeCity.Documents.Word.Text.ParentRun">
          <a class="xref" href="GrapeCity.Documents.Word.Text.ParentRun.html#GrapeCity_Documents_Word_Text_ParentRun">ParentRun</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the content parent <a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_PreserveSpace" data-uid="GrapeCity.Documents.Word.Text.PreserveSpace">
          <a class="xref" href="GrapeCity.Documents.Word.Text.PreserveSpace.html#GrapeCity_Documents_Word_Text_PreserveSpace">PreserveSpace</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to preserve white spaces while displaying or saving content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_Previous" data-uid="GrapeCity.Documents.Word.Text.Previous">
          <a class="xref" href="GrapeCity.Documents.Word.Text.Previous.html#GrapeCity_Documents_Word_Text_Previous">Previous</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the previous text content.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_Value" data-uid="GrapeCity.Documents.Word.Text.Value">
          <a class="xref" href="GrapeCity.Documents.Word.Text.Value.html#GrapeCity_Documents_Word_Text_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text content value.</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_Text_Split_System_Int32_" data-uid="GrapeCity.Documents.Word.Text.Split(System.Int32)">
          <a class="xref" href="GrapeCity.Documents.Word.Text.Split.html#GrapeCity_Documents_Word_Text_Split_System_Int32_">Split(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Splits the text content at a specified position.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Text_ToString" data-uid="GrapeCity.Documents.Word.Text.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Text.ToString.html#GrapeCity_Documents_Word_Text_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets string representation of the content.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="GrapeCity.Documents.Word.Run.html">Run</a></div>
  </div>

</div>
