# GrapeCity.Documents.Word.ShapeHorizontalPosition.RelativeTo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ShapeHorizontalPosition_RelativeTo_" data-uid="GrapeCity.Documents.Word.ShapeHorizontalPosition.RelativeTo*">RelativeTo Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ShapeHorizontalPosition_RelativeTo_" data-uid="GrapeCity.Documents.Word.ShapeHorizontalPosition.RelativeTo*"></a>
<h4 id="GrapeCity_Documents_Word_ShapeHorizontalPosition_RelativeTo" data-uid="GrapeCity.Documents.Word.ShapeHorizontalPosition.RelativeTo">RelativeTo</h4>
<div class="markdown level1 summary"><p>Gets or sets the element relative to which the horizontal position of a shape is calculated.</p>
<p>
If <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is <a class="xref" href="GrapeCity.Documents.Word.WrapType.html#GrapeCity_Documents_Word_WrapType_Inline">Inline</a>,
this value does not have any effect when displaying the object, 
but can be maintained and used if the object is subsequently changed to floating. 
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ShapeHorizontalRelativePosition RelativeTo { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RelativeTo As ShapeHorizontalRelativePosition</code></pre>
</div>
</div>
