# C1.Document.TextFitMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Document_TextFitMode" data-uid="C1.Document.TextFitMode" class="text-break">TextFitMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies how a text is adjusted to fit in specified bounds.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_TextFitMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum TextFitMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum TextFitMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Document_TextFitMode_AutoCharSpacing">AutoCharSpacing</td>
        <td><p>The spacing between characters is adjusted (increased or decreased) so that text fits in the specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_TextFitMode_AutoEllipsis">AutoEllipsis</td>
        <td><p>Text is trancated in the field and show an ellipsis when the text can not be shown fully.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_TextFitMode_AutoFontGrowOnly">AutoFontGrowOnly</td>
        <td><p>The font size is adjusted (increased only) so that text fits in the specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_TextFitMode_AutoFontShrinkOnly">AutoFontShrinkOnly</td>
        <td><p>The font size is adjusted (decreased only) so that text fits in the specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_TextFitMode_AutoFontSize">AutoFontSize</td>
        <td><p>The font size is adjusted (increased or decreased) so that text fits in the specified bounds.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_TextFitMode_None">None</td>
        <td><p>Text is not adjusted.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
