# GrapeCity.Documents.Word.ShapePosition.LayoutInCell

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_ShapePosition_LayoutInCell_" data-uid="GrapeCity.Documents.Word.ShapePosition.LayoutInCell*">LayoutInCell Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_ShapePosition_LayoutInCell_" data-uid="GrapeCity.Documents.Word.ShapePosition.LayoutInCell*"></a>
<h4 id="GrapeCity_Documents_Word_ShapePosition_LayoutInCell" data-uid="GrapeCity.Documents.Word.ShapePosition.LayoutInCell">LayoutInCell</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether a shape is positioned relative to a cell.</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>
<p>
When this property is true, the shape is positioned within the existing table cell, causing the cell to be resized as needed.
This means that all positioning is relative to the cell and not the line on which the table appears.
</p>
<p>
When this property is false, the shape is positioned as specified, but the table is resized and/or relocated within the document as needed to accommodate the object. 
This means that all positioning shall be relative to the line on which the table appears and not the cell in which the anchor is present.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool LayoutInCell { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property LayoutInCell As Boolean</code></pre>
</div>
</div>
