# C1.C1Preview.C1AnchorText

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_C1AnchorText" data-uid="C1.C1Preview.C1AnchorText" class="text-break">C1AnchorText Class
</h1>
  <div class="markdown level0 summary"><p>Represents an anchor within a text object
(a <a class="xref" href="C1.C1Preview.RenderText.html">RenderText</a>, a <a class="xref" href="C1.C1Preview.RenderParagraph.html">RenderParagraph</a> or a <a class="xref" href="C1.C1Preview.RenderRichText.html">RenderRichText</a>).
Based on <a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a>, adds the ability to reference a specific position within the text
(see <a class="xref" href="C1.C1Preview.C1AnchorText.Position.html#C1_C1Preview_C1AnchorText_Position">Position</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.C1Anchor.html">C1Anchor</a></div>
    <div class="level2"><span class="xref">C1AnchorText</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.4.8.dll</h6>
  <h5 id="C1_C1Preview_C1AnchorText_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1AnchorText : C1Anchor</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1AnchorText
    Inherits C1Anchor</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_C1AnchorText__ctor" data-uid="C1.C1Preview.C1AnchorText.#ctor">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor">C1AnchorText()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_">C1AnchorText(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_System_Int32_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String,System.Int32)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_System_Int32_">C1AnchorText(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_System_String_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String,System.String)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_System_String_">C1AnchorText(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Int32_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String,System.String,System.Int32)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Int32_">C1AnchorText(string, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Object_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String,System.String,System.Object)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Object_">C1AnchorText(string, string, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Object_System_Int32_" data-uid="C1.C1Preview.C1AnchorText.#ctor(System.String,System.String,System.Object,System.Int32)">
          <a class="xref" href="C1.C1Preview.C1AnchorText.-ctor.html#C1_C1Preview_C1AnchorText__ctor_System_String_System_String_System_Object_System_Int32_">C1AnchorText(string, string, object, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorText.html">C1AnchorText</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_C1AnchorText_Position" data-uid="C1.C1Preview.C1AnchorText.Position">
          <a class="xref" href="C1.C1Preview.C1AnchorText.Position.html#C1_C1Preview_C1AnchorText_Position">Position</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the position of anchor withint text, zero based.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
