# C1.C1Preview.RenderTextBase

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderTextBase" data-uid="C1.C1Preview.RenderTextBase" class="text-break">RenderTextBase Class
</h1>
  <div class="markdown level0 summary"><p>The abstract base class for render object types representing text
(<a class="xref" href="C1.C1Preview.RenderText.html">RenderText</a> and <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a>) in a <a class="xref" href="C1.C1Preview.C1PrintDocument.html">C1PrintDocument</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="C1.C1Preview.RenderObject.html">RenderObject</a></div>
    <div class="level2"><span class="xref">RenderTextBase</span></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a></div>
      <div class="level3"><a class="xref" href="C1.C1Preview.RenderText.html">RenderText</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="C1.C1Preview.IStyleOwner.html">IStyleOwner</a></div>
    <div><a class="xref" href="C1.C1Preview.IDocumentLocation.html">IDocumentLocation</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_RenderTextBase_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class RenderTextBase : RenderObject, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class RenderTextBase
    Inherits RenderObject
    Implements IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_RenderTextBase__ctor" data-uid="C1.C1Preview.RenderTextBase.#ctor">
          <a class="xref" href="C1.C1Preview.RenderTextBase.-ctor.html#C1_C1Preview_RenderTextBase__ctor">RenderTextBase()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_C1Preview_RenderTextBase_HasTabPositions" data-uid="C1.C1Preview.RenderTextBase.HasTabPositions">
          <a class="xref" href="C1.C1Preview.RenderTextBase.HasTabPositions.html#C1_C1Preview_RenderTextBase_HasTabPositions">HasTabPositions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the <a class="xref" href="C1.C1Preview.RenderTextBase.TabPositions.html#C1_C1Preview_RenderTextBase_TabPositions">TabPositions</a> collection
has been initialized and contains one or more elements.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTextBase_HasText" data-uid="C1.C1Preview.RenderTextBase.HasText">
          <a class="xref" href="C1.C1Preview.RenderTextBase.HasText.html#C1_C1Preview_RenderTextBase_HasText">HasText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current object represents a non-empty text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTextBase_TabPositions" data-uid="C1.C1Preview.RenderTextBase.TabPositions">
          <a class="xref" href="C1.C1Preview.RenderTextBase.TabPositions.html#C1_C1Preview_RenderTextBase_TabPositions">TabPositions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of <a class="xref" href="C1.C1Preview.TabPosition.html">TabPosition</a> objects representing tab stops
associated with the current text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTextBase_TextLength" data-uid="C1.C1Preview.RenderTextBase.TextLength">
          <a class="xref" href="C1.C1Preview.RenderTextBase.TextLength.html#C1_C1Preview_RenderTextBase_TextLength">TextLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the lenght of text represented by the current object.
(Do not use this property to test whether a non-empty text is assigned to the current object,
use <a class="xref" href="C1.C1Preview.RenderTextBase.HasText.html#C1_C1Preview_RenderTextBase_HasText">HasText</a> instead.)</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_C1Preview_RenderTextBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.RenderTextBase.AssignFrom(C1.C1Preview.RenderObject,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.RenderTextBase.AssignFrom.html#C1_C1Preview_RenderTextBase_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns (copies) properties from another <a class="xref" href="C1.C1Preview.RenderObject.html">RenderObject</a> to the current object.
Calls the base <a class="xref" href="C1.C1Preview.RenderObject.AssignFrom.html#C1_C1Preview_RenderObject_AssignFrom_C1_C1Preview_RenderObject_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)</a> method.
If <code class="paramref">source</code> is a <a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a>, also copies <a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a>-specific properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTextBase_ShouldSerializeTabPositions" data-uid="C1.C1Preview.RenderTextBase.ShouldSerializeTabPositions">
          <a class="xref" href="C1.C1Preview.RenderTextBase.ShouldSerializeTabPositions.html#C1_C1Preview_RenderTextBase_ShouldSerializeTabPositions">ShouldSerializeTabPositions()</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the <a class="xref" href="C1.C1Preview.RenderTextBase.TabPositions.html#C1_C1Preview_RenderTextBase_TabPositions">TabPositions</a> property should be serialized.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
