# C1.C1Preview.RenderRichText.TextLength

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_RenderRichText_TextLength_" data-uid="C1.C1Preview.RenderRichText.TextLength*">TextLength Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_RenderRichText_TextLength_" data-uid="C1.C1Preview.RenderRichText.TextLength*"></a>
<h4 id="C1_C1Preview_RenderRichText_TextLength" data-uid="C1.C1Preview.RenderRichText.TextLength">TextLength</h4>
<div class="markdown level1 summary"><p>Gets the &quot;real&quot; length of the text assigned to the <a class="xref" href="C1.C1Preview.RenderRichText.Rtf.html#C1_C1Preview_RenderRichText_Rtf">Rtf</a> property.
Only the actual text characters are counted, <b>RTF</b> tags are not included in the count.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int TextLength { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property TextLength As Integer</code></pre>
</div>
</div>
