# GrapeCity.Documents.Word.CellFormat.WordWrap

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_CellFormat_WordWrap_" data-uid="GrapeCity.Documents.Word.CellFormat.WordWrap*">WordWrap Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_CellFormat_WordWrap_" data-uid="GrapeCity.Documents.Word.CellFormat.WordWrap*"></a>
<h4 id="GrapeCity_Documents_Word_CellFormat_WordWrap" data-uid="GrapeCity.Documents.Word.CellFormat.WordWrap">WordWrap</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether to wrap text in a cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool WordWrap { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property WordWrap As Boolean</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_CellFormat_WordWrap_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property only affects the behavior of the cell when the <a class="xref" href="GrapeCity.Documents.Word.TableFormatBase.AllowAutoFit.html#GrapeCity_Documents_Word_TableFormatBase_AllowAutoFit">AllowAutoFit</a> for this table is set to true.
This property shall be interpreted in the context of the <a class="xref" href="GrapeCity.Documents.Word.CellFormat.PreferredWidth.html#GrapeCity_Documents_Word_CellFormat_PreferredWidth">PreferredWidth</a> property as follows:
If the table cell width is fixed, then this property specifies that that this table cell shall never be smaller than that fixed value when other cells on the line are not at their absolute minimum width.
If the table cell width is relatuve or auto, then this property specifies that when running the auto fit algorithm, the contents of that this table cell shall be treated as though they have no breaking characters (the contents should be treated as a single contiguous non - breaking string).</p>
</div>
</div>
