# GrapeCity.Documents.Text.AnchoredObject.KeepInHorizontalBounds

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_AnchoredObject_KeepInHorizontalBounds_" data-uid="GrapeCity.Documents.Text.AnchoredObject.KeepInHorizontalBounds*">KeepInHorizontalBounds Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_AnchoredObject_KeepInHorizontalBounds_" data-uid="GrapeCity.Documents.Text.AnchoredObject.KeepInHorizontalBounds*"></a>
<h4 id="GrapeCity_Documents_Text_AnchoredObject_KeepInHorizontalBounds" data-uid="GrapeCity.Documents.Text.AnchoredObject.KeepInHorizontalBounds">KeepInHorizontalBounds</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating if the anchored object should not appear beyond the horizontal
bounds specified by the <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.MinLeft.html#GrapeCity_Documents_Text_AnchoredObject_MinLeft">MinLeft</a> and <a class="xref" href="GrapeCity.Documents.Text.AnchoredObject.MaxRight.html#GrapeCity_Documents_Text_AnchoredObject_MaxRight">MaxRight</a> properties.</p>
<p>The default is false.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool KeepInHorizontalBounds { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property KeepInHorizontalBounds As Boolean</code></pre>
</div>
</div>
