# C1.C1Word.Objects.RtfSimpleField

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Word_Objects_RtfSimpleField" data-uid="C1.C1Word.Objects.RtfSimpleField" class="text-break">RtfSimpleField Class
</h1>
  <div class="markdown level0 summary"><p>Common (base) field class for automatic macro value Word/RTF fields.</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="C1.C1Word.Objects.RtfObject.html">RtfObject</a></div>
    <div class="level2"><a class="xref" href="C1.C1Word.Objects.RtfField.html">RtfField</a></div>
    <div class="level3"><span class="xref">RtfSimpleField</span></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfComplexField.html">RtfComplexField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfDateField.html">RtfDateField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfFileNameField.html">RtfFileNameField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfNumField.html">RtfNumField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfNumPagesField.html">RtfNumPagesField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfNumWordsField.html">RtfNumWordsField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfPageRefField.html">RtfPageRefField</a></div>
      <div class="level4"><a class="xref" href="C1.C1Word.Objects.RtfTimeField.html">RtfTimeField</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
    <div><a class="xref" href="C1.C1Word.IDocumentContent.html">IDocumentContent</a></div>
    <div><a class="xref" href="C1.C1Word.IParagraphContent.html">IParagraphContent</a></div>
    <div><a class="xref" href="C1.C1Word.IContent.html">IContent</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Word.Objects.html">C1.C1Word.Objects</a></h6>
  <h6><strong>Assembly</strong>: C1.C1Word.4.8.dll</h6>
  <h5 id="C1_C1Word_Objects_RtfSimpleField_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RtfSimpleField : RtfField, ICloneable, IDocumentContent, IParagraphContent, IContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RtfSimpleField
    Inherits RtfField
    Implements ICloneable, IDocumentContent, IParagraphContent, IContent</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="C1_C1Word_Objects_RtfSimpleField_UniqueName" data-uid="C1.C1Word.Objects.RtfSimpleField.UniqueName">
          <a class="xref" href="C1.C1Word.Objects.RtfSimpleField.UniqueName.html#C1_C1Word_Objects_RtfSimpleField_UniqueName">UniqueName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets unique name for the RTF field.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSimpleField_Value" data-uid="C1.C1Word.Objects.RtfSimpleField.Value">
          <a class="xref" href="C1.C1Word.Objects.RtfSimpleField.Value.html#C1_C1Word_Objects_RtfSimpleField_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets value as internal object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Word_Objects_RtfSimpleField_ValueText" data-uid="C1.C1Word.Objects.RtfSimpleField.ValueText">
          <a class="xref" href="C1.C1Word.Objects.RtfSimpleField.ValueText.html#C1_C1Word_Objects_RtfSimpleField_ValueText">ValueText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets value as text string.</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="C1_C1Word_Objects_RtfSimpleField_ToString" data-uid="C1.C1Word.Objects.RtfSimpleField.ToString">
          <a class="xref" href="C1.C1Word.Objects.RtfSimpleField.ToString.html#C1_C1Word_Objects_RtfSimpleField_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Every object in C# inherits the ToString method,
which returns a string representation of that object.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
