# C1.C1Preview.C1AnchorInfo.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1AnchorInfo__ctor_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor*">C1AnchorInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1AnchorInfo__ctor_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor*"></a>
<h4 id="C1_C1Preview_C1AnchorInfo__ctor_C1_C1Preview_C1Anchor_C1_C1Preview_DocumentLocation_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor(C1.C1Preview.C1Anchor,C1.C1Preview.DocumentLocation)">C1AnchorInfo(C1Anchor, DocumentLocation)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorInfo.html">C1AnchorInfo</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1AnchorInfo(C1Anchor anchor, DocumentLocation documentLocation)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(anchor As C1Anchor, documentLocation As DocumentLocation)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a></td>
      <td><span class="parametername">anchor</span></td>
      <td><p>The anchor associated with the current instance.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.DocumentLocation.html">DocumentLocation</a></td>
      <td><span class="parametername">documentLocation</span></td>
      <td><p><a class="xref" href="C1.C1Preview.C1AnchorInfo.DocumentLocation.html#C1_C1Preview_C1AnchorInfo_DocumentLocation">DocumentLocation</a> object defining abchor's position.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1AnchorInfo__ctor_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor*"></a>
<h4 id="C1_C1Preview_C1AnchorInfo__ctor_C1_C1Preview_C1Anchor_System_Int32_C1_C1Preview_PointD_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor(C1.C1Preview.C1Anchor,System.Int32,C1.C1Preview.PointD)">C1AnchorInfo(C1Anchor, int, PointD)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorInfo.html">C1AnchorInfo</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1AnchorInfo(C1Anchor anchor, int pageIndex, PointD point)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(anchor As C1Anchor, pageIndex As Integer, point As PointD)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a></td>
      <td><span class="parametername">anchor</span></td>
      <td><p>The anchor associated with the current instance.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">pageIndex</span></td>
      <td><p>The 0-based page index.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.PointD.html">PointD</a></td>
      <td><span class="parametername">point</span></td>
      <td><p>The point on the page.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_C1Preview_C1AnchorInfo__ctor_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor*"></a>
<h4 id="C1_C1Preview_C1AnchorInfo__ctor_C1_C1Preview_C1Anchor_C1_C1Preview_C1Page_C1_C1Preview_RectangleD_" data-uid="C1.C1Preview.C1AnchorInfo.#ctor(C1.C1Preview.C1Anchor,C1.C1Preview.C1Page,C1.C1Preview.RectangleD)">C1AnchorInfo(C1Anchor, C1Page, RectangleD)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1AnchorInfo.html">C1AnchorInfo</a> class.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public C1AnchorInfo(C1Anchor anchor, C1Page page, RectangleD boundsOnPage)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(anchor As C1Anchor, page As C1Page, boundsOnPage As RectangleD)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1Anchor.html">C1Anchor</a></td>
      <td><span class="parametername">anchor</span></td>
      <td><p>The anchor associated with the current instance.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a></td>
      <td><span class="parametername">page</span></td>
      <td><p><a class="xref" href="C1.C1Preview.C1Page.html">C1Page</a> object where anchor is.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.C1Preview.RectangleD.html">RectangleD</a></td>
      <td><span class="parametername">boundsOnPage</span></td>
      <td><p>The bounds on the page.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
