# GrapeCity.Documents.Word.ShapeWidth.RelativeTo

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ShapeWidth_RelativeTo_" data-uid="GrapeCity.Documents.Word.ShapeWidth.RelativeTo*">RelativeTo Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ShapeWidth_RelativeTo_" data-uid="GrapeCity.Documents.Word.ShapeWidth.RelativeTo*"></a>
<h4 id="GrapeCity_Documents_Word_ShapeWidth_RelativeTo" data-uid="GrapeCity.Documents.Word.ShapeWidth.RelativeTo">RelativeTo</h4>
<div class="markdown level1 summary"><p>Gets or sets the relative width type of a shape.</p>
<p>
If the property value is <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeHorizontally.html#GrapeCity_Documents_Word_SizeRelativeHorizontally_None">None</a>, then the <a class="xref" href="GrapeCity.Documents.Word.ShapeWidth.Value.html#GrapeCity_Documents_Word_ShapeWidth_Value">Value</a> property value must be used, 
otherwise the <a class="xref" href="GrapeCity.Documents.Word.ShapeWidth.Relative.html#GrapeCity_Documents_Word_ShapeWidth_Relative">Relative</a> property value is used.
</p>
<p>
If property <a class="xref" href="GrapeCity.Documents.Word.WrapFormat.Type.html#GrapeCity_Documents_Word_WrapFormat_Type">Type</a> is Inline, this value is always <a class="xref" href="GrapeCity.Documents.Word.SizeRelativeHorizontally.html#GrapeCity_Documents_Word_SizeRelativeHorizontally_None">None</a>.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public SizeRelativeHorizontally RelativeTo { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property RelativeTo As SizeRelativeHorizontally</code></pre>
</div>
</div>
