# GrapeCity.Documents.Word.Fields.TocTcOptions.AllowedLevels

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_Fields_TocTcOptions_AllowedLevels_" data-uid="GrapeCity.Documents.Word.Fields.TocTcOptions.AllowedLevels*">AllowedLevels Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_Fields_TocTcOptions_AllowedLevels_" data-uid="GrapeCity.Documents.Word.Fields.TocTcOptions.AllowedLevels*"></a>
<h4 id="GrapeCity_Documents_Word_Fields_TocTcOptions_AllowedLevels" data-uid="GrapeCity.Documents.Word.Fields.TocTcOptions.AllowedLevels">AllowedLevels</h4>
<div class="markdown level1 summary"><p>Gets the range of allowed TC field levels.</p>
<p>If a <a class="xref" href="GrapeCity.Documents.Word.Fields.TcFieldOptions.DisplayLevel.html#GrapeCity_Documents_Word_Fields_TcFieldOptions_DisplayLevel">DisplayLevel</a> of a TC field is not in this range, it will not be collected by the TOC field.</p>
<p>The default value is <a class="xref" href="GrapeCity.Documents.Word.Fields.OutlineLevelRange.IsEmpty.html#GrapeCity_Documents_Word_Fields_OutlineLevelRange_IsEmpty">IsEmpty</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public OutlineLevelRange AllowedLevels { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public ReadOnly Property AllowedLevels As OutlineLevelRange</code></pre>
</div>
</div>
