# GrapeCity.Documents.Word.Fields.TocEntryFormatting

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Fields_TocEntryFormatting" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting" class="text-break">TocEntryFormatting Class
</h1>
  <div class="markdown level0 summary"><p>Represents options to format TOC entries in a TOC field result.</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"><span class="xref">TocEntryFormatting</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.Fields.html">GrapeCity.Documents.Word.Fields</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Fields_TocEntryFormatting_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TocEntryFormatting</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TocEntryFormatting</code></pre>
  </div>
  <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="GrapeCity_Documents_Word_Fields_TocEntryFormatting_CreateHyperlink" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting.CreateHyperlink">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocEntryFormatting.CreateHyperlink.html#GrapeCity_Documents_Word_Fields_TocEntryFormatting_CreateHyperlink">CreateHyperlink</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to create hyperlinks on TOC entries.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocEntryFormatting_HidePageNumbersInWebView" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting.HidePageNumbersInWebView">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocEntryFormatting.HidePageNumbersInWebView.html#GrapeCity_Documents_Word_Fields_TocEntryFormatting_HidePageNumbersInWebView">HidePageNumbersInWebView</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to hides tab leader and page numbers in web page view.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocEntryFormatting_PreserveNewLines" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting.PreserveNewLines">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocEntryFormatting.PreserveNewLines.html#GrapeCity_Documents_Word_Fields_TocEntryFormatting_PreserveNewLines">PreserveNewLines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to preserve new lines from the source paragraphs in TOC entries.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Fields_TocEntryFormatting_PreserveTabs" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting.PreserveTabs">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocEntryFormatting.PreserveTabs.html#GrapeCity_Documents_Word_Fields_TocEntryFormatting_PreserveTabs">PreserveTabs</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to preserve tabs from the source paragraphs in TOC entries.</p>
<p>The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</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="GrapeCity_Documents_Word_Fields_TocEntryFormatting_ToString" data-uid="GrapeCity.Documents.Word.Fields.TocEntryFormatting.ToString">
          <a class="xref" href="GrapeCity.Documents.Word.Fields.TocEntryFormatting.ToString.html#GrapeCity_Documents_Word_Fields_TocEntryFormatting_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
