# GrapeCity.Documents.Text.AnchoredObject.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*">AnchoredObject Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject__ctor" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor">AnchoredObject()</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchoredObject()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New()</code></pre>
</div>


<a id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject__ctor_System_Single_System_Single_System_Boolean_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor(System.Single,System.Single,System.Boolean)">AnchoredObject(float, float, bool)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchoredObject(float width, float height, bool wrapWithText)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Single, height As Single, wrapWithText As Boolean)</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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">wrapWithText</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject__ctor_System_Single_System_Single_System_Boolean_GrapeCity_Documents_Text_HorizontalPosition_GrapeCity_Documents_Text_VerticalPosition_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor(System.Single,System.Single,System.Boolean,GrapeCity.Documents.Text.HorizontalPosition,GrapeCity.Documents.Text.VerticalPosition)">AnchoredObject(float, float, bool, HorizontalPosition, VerticalPosition)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchoredObject(float width, float height, bool wrapWithText, HorizontalPosition horizontalPosition, VerticalPosition verticalPosition)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Single, height As Single, wrapWithText As Boolean, horizontalPosition As HorizontalPosition, verticalPosition As VerticalPosition)</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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">wrapWithText</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.HorizontalPosition.html">HorizontalPosition</a></td>
      <td><span class="parametername">horizontalPosition</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.VerticalPosition.html">VerticalPosition</a></td>
      <td><span class="parametername">verticalPosition</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject__ctor_System_Single_System_Single_System_Boolean_GrapeCity_Documents_Text_HorizontalPosition_GrapeCity_Documents_Text_VerticalPosition_System_Single_System_Single_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor(System.Single,System.Single,System.Boolean,GrapeCity.Documents.Text.HorizontalPosition,GrapeCity.Documents.Text.VerticalPosition,System.Single,System.Single)">AnchoredObject(float, float, bool, HorizontalPosition, VerticalPosition, float, float)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchoredObject(float width, float height, bool wrapWithText, HorizontalPosition horizontalPosition, VerticalPosition verticalPosition, float horizontalOffset, float verticalOffset)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(width As Single, height As Single, wrapWithText As Boolean, horizontalPosition As HorizontalPosition, verticalPosition As VerticalPosition, horizontalOffset As Single, verticalOffset As Single)</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="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">width</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">height</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">wrapWithText</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.HorizontalPosition.html">HorizontalPosition</a></td>
      <td><span class="parametername">horizontalPosition</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.VerticalPosition.html">VerticalPosition</a></td>
      <td><span class="parametername">verticalPosition</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">horizontalOffset</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></td>
      <td><span class="parametername">verticalOffset</span></td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_AnchoredObject__ctor_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject__ctor_GrapeCity_Documents_Text_AnchoredObject_" data-uid="GrapeCity.Documents.Text.AnchoredObject.#ctor(GrapeCity.Documents.Text.AnchoredObject)">AnchoredObject(AnchoredObject)</h4>
<div class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AnchoredObject(AnchoredObject source)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(source As AnchoredObject)</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="GrapeCity.Documents.Text.AnchoredObject.html">AnchoredObject</a></td>
      <td><span class="parametername">source</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
