# C1.Framework.Drawing.Gdi.StringFormatFlags

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Framework_Drawing_Gdi_StringFormatFlags" data-uid="C1.Framework.Drawing.Gdi.StringFormatFlags" class="text-break">StringFormatFlags Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the display and layout information for text strings.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Drawing.Gdi.html">C1.Framework.Drawing.Gdi</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Drawing_Gdi_StringFormatFlags_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[Flags]
public enum StringFormatFlags</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;Flags&gt;
Public Enum StringFormatFlags</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_Framework_Drawing_Gdi_StringFormatFlags_ExpandTabs">ExpandTabs</td>
        <td><p>Expands tab characters. The default number of characters per tab is eight.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_LineLimit">LineLimit</td>
        <td><p>Only entire lines are laid out in the formatting rectangle.
By default layout continues until the end of the text,
or until no more lines are visible as a result of clipping,
whichever comes first.
Note that the default settings allow the last line to be partially
obscured by a formatting rectangle that is not a whole multiple
of the line height. To ensure that only whole lines are seen,
specify this value and be careful to provide a formatting rectangle
at least as tall as the height of one line.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_MultiLine">MultiLine</td>
        <td><p>Shows string on one or more lines.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_NoClip">NoClip</td>
        <td><p>Overhanging parts of glyphs, and unwrapped text reaching outside
the formatting rectangle are allowed to show.
By default all text and glyph parts reaching outside the formatting
rectangle are clipped.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_NoWrap">NoWrap</td>
        <td><p>Disables wrapping of text between lines when formatting within a rectangle.
This flag is implied when a point is passed instead of a rectangle,
or when the specified rectangle has a zero line length.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_Nothing">Nothing</td>
        <td><p>No any flags.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_RightToLeft">RightToLeft</td>
        <td><p>Specifies that text is right to left.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_Vertical">Vertical</td>
        <td><p>Specifies that text is vertical.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_StringFormatFlags_WordWrap">WordWrap</td>
        <td><p>Breaks words. Lines are automatically broken between words if a word would extend past the edge of the
pecified rectangle. A carriage return-line feed sequence also breaks the line.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
