# GrapeCity.Documents.Word.FontBase.FitTextWidth

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_FontBase_FitTextWidth_" data-uid="GrapeCity.Documents.Word.FontBase.FitTextWidth*">FitTextWidth Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_FontBase_FitTextWidth_" data-uid="GrapeCity.Documents.Word.FontBase.FitTextWidth*"></a>
<h4 id="GrapeCity_Documents_Word_FontBase_FitTextWidth" data-uid="GrapeCity.Documents.Word.FontBase.FitTextWidth">FitTextWidth</h4>
<div class="markdown level1 summary"><p>Gets or sets that the contents of the run shall not be automatically displayed based on the width of its contents,
rather its contents shall be resized to fit the width specified by the this property.
This expansion/contraction shall be performed by equally increasing/decreasing the size of each character in the run's contents when displayed.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public float FitTextWidth { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property FitTextWidth As Single</code></pre>
</div>
<h5 id="GrapeCity_Documents_Word_FontBase_FitTextWidth_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>If the property value equals to 0, then the contents of the run shall be displayed based on the size of its contents.</p>
</div>
</div>
