# C1.C1Preview.RenderTextBase.TextLength

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderTextBase_TextLength_" data-uid="C1.C1Preview.RenderTextBase.TextLength*">TextLength Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderTextBase_TextLength_" data-uid="C1.C1Preview.RenderTextBase.TextLength*"></a>
<h4 id="C1_C1Preview_RenderTextBase_TextLength" data-uid="C1.C1Preview.RenderTextBase.TextLength">TextLength</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public abstract int TextLength { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public MustOverride ReadOnly Property TextLength As Integer</code></pre>
</div>
</div>
