# C1.C1Preview.IndexEntryOccurrence

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_IndexEntryOccurrence" data-uid="C1.C1Preview.IndexEntryOccurrence" class="text-break">IndexEntryOccurrence Class
</h1>
  <div class="markdown level0 summary"><p>Represents a single occurrence of an <a class="xref" href="C1.C1Preview.IndexEntry.html">IndexEntry</a> in the document.
Elements of this type are contained in the <a class="xref" href="C1.C1Preview.IndexEntry.Occurrences.html#C1_C1Preview_IndexEntry_Occurrences">Occurrences</a> collection
of an <a class="xref" href="C1.C1Preview.IndexEntry.html">IndexEntry</a>.</p>
<p>
The main functional property of this class is <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Target.html#C1_C1Preview_IndexEntryOccurrence_Target">Target</a>,
of the type <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a>, which points to the location of the occurrence
in the document.
</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">IndexEntryOccurrence</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</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_IndexEntryOccurrence_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class IndexEntryOccurrence : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class IndexEntryOccurrence
    Implements ICloneable</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_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor(C1.C1Preview.C1LinkTarget)">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.-ctor.html#C1_C1Preview_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_">IndexEntryOccurrence(C1LinkTarget)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.html">IndexEntryOccurrence</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_System_Boolean_System_Boolean_" data-uid="C1.C1Preview.IndexEntryOccurrence.#ctor(C1.C1Preview.C1LinkTarget,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.-ctor.html#C1_C1Preview_IndexEntryOccurrence__ctor_C1_C1Preview_C1LinkTarget_System_Boolean_System_Boolean_">IndexEntryOccurrence(C1LinkTarget, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.html">IndexEntryOccurrence</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_IndexEntryOccurrence_Bold" data-uid="C1.C1Preview.IndexEntryOccurrence.Bold">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Bold.html#C1_C1Preview_IndexEntryOccurrence_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Boolean value allowing to highlight the page number
corresponding to a certain occurrence of an entry using <b>bold face</b>.
(Can be used to highlight the location where the main definition
of an index entry is provided, for example.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IndexEntryOccurrence_Italic" data-uid="C1.C1Preview.IndexEntryOccurrence.Italic">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Italic.html#C1_C1Preview_IndexEntryOccurrence_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a Boolean value allowing to highlight the page number
corresponding to a certain occurrence of an entry using <i>italic face</i>.
(Can be used to highlight the location where the main definition
of an index entry is provided, for example.)</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_IndexEntryOccurrence_Target" data-uid="C1.C1Preview.IndexEntryOccurrence.Target">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Target.html#C1_C1Preview_IndexEntryOccurrence_Target">Target</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a> that is associated with the current occurrence.</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="C1_C1Preview_IndexEntryOccurrence_Clone" data-uid="C1.C1Preview.IndexEntryOccurrence.Clone">
          <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.Clone.html#C1_C1Preview_IndexEntryOccurrence_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of the current <a class="xref" href="C1.C1Preview.IndexEntryOccurrence.html">IndexEntryOccurrence</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.RenderIndex.html">RenderIndex</a></div>
      <div><a class="xref" href="C1.C1Preview.IndexEntry.html">IndexEntry</a></div>
      <div><a class="xref" href="C1.C1Preview.IndexEntryCollection.html">IndexEntryCollection</a></div>
      <div><a class="xref" href="C1.C1Preview.IndexEntryStyles.html">IndexEntryStyles</a></div>
      <div><a class="xref" href="C1.C1Preview.C1LinkTarget.html">C1LinkTarget</a></div>
  </div>

</div>
