# C1.C1Preview.RenderTocItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_RenderTocItem" data-uid="C1.C1Preview.RenderTocItem" class="text-break">RenderTocItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents a single entry in the table of contents (TOC; <a class="xref" href="C1.C1Preview.RenderTocItem.RenderToc.html#C1_C1Preview_RenderTocItem_RenderToc">RenderToc</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"><a class="xref" href="C1.C1Preview.RenderTextBase.html">RenderTextBase</a></div>
    <div class="level3"><a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a></div>
    <div class="level4"><span class="xref">RenderTocItem</span></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_RenderTocItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class RenderTocItem : RenderParagraph, IStyleOwner, IDocumentLocation</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class RenderTocItem
    Inherits RenderParagraph
    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_RenderTocItem__ctor" data-uid="C1.C1Preview.RenderTocItem.#ctor">
          <a class="xref" href="C1.C1Preview.RenderTocItem.-ctor.html#C1_C1Preview_RenderTocItem__ctor">RenderTocItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.RenderTocItem.html">RenderTocItem</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_RenderTocItem_HasText" data-uid="C1.C1Preview.RenderTocItem.HasText">
          <a class="xref" href="C1.C1Preview.RenderTocItem.HasText.html#C1_C1Preview_RenderTocItem_HasText">HasText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current TOC entry will produce visible
output in the generated document.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTocItem_Level" data-uid="C1.C1Preview.RenderTocItem.Level">
          <a class="xref" href="C1.C1Preview.RenderTocItem.Level.html#C1_C1Preview_RenderTocItem_Level">Level</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the level of the current entry in the TOC.
This value is 1-based, and determines the indentation of the current item in the generated TOC.
The default value is <b>1</b>, which does not indent the entry.
Nested levels are indented by the <a class="xref" href="C1.C1Preview.RenderToc.LevelSpacing.html#C1_C1Preview_RenderToc_LevelSpacing">LevelSpacing</a> amount.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTocItem_RenderToc" data-uid="C1.C1Preview.RenderTocItem.RenderToc">
          <a class="xref" href="C1.C1Preview.RenderTocItem.RenderToc.html#C1_C1Preview_RenderTocItem_RenderToc">RenderToc</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.RenderTocItem.RenderToc.html#C1_C1Preview_RenderTocItem_RenderToc">RenderToc</a> object containing the current TOC entry.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_RenderTocItem_TextLength" data-uid="C1.C1Preview.RenderTocItem.TextLength">
          <a class="xref" href="C1.C1Preview.RenderTocItem.TextLength.html#C1_C1Preview_RenderTocItem_TextLength">TextLength</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the count of characters in the current TOC entry.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
