# GrapeCity.Documents.Text.TextFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_TextFormat" data-uid="GrapeCity.Documents.Text.TextFormat" class="text-break">TextFormat Class
</h1>
  <div class="markdown level0 summary"><p>Represents text formatting attributes such as font, language, colors, decorations and so on.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">TextFormat</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_TextFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TextFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TextFormat</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat__ctor" data-uid="GrapeCity.Documents.Text.TextFormat.#ctor">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.-ctor.html#GrapeCity_Documents_Text_TextFormat__ctor">TextFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of <a class="xref" href="GrapeCity.Documents.Text.TextFormat.html">TextFormat</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat__ctor_GrapeCity_Documents_Text_TextFormat_" data-uid="GrapeCity.Documents.Text.TextFormat.#ctor(GrapeCity.Documents.Text.TextFormat)">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.-ctor.html#GrapeCity_Documents_Text_TextFormat__ctor_GrapeCity_Documents_Text_TextFormat_">TextFormat(TextFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a copy of a <a class="xref" href="GrapeCity.Documents.Text.TextFormat.html">TextFormat</a> object.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_AllowFallbackToEudcFonts" data-uid="GrapeCity.Documents.Text.TextFormat.AllowFallbackToEudcFonts">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.AllowFallbackToEudcFonts.html#GrapeCity_Documents_Text_TextFormat_AllowFallbackToEudcFonts">AllowFallbackToEudcFonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether EUDC fonts should be searched for missing user-defined characters.</p>
<p>The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_AllowFontSbits" data-uid="GrapeCity.Documents.Text.TextFormat.AllowFontSbits">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.AllowFontSbits.html#GrapeCity_Documents_Text_TextFormat_AllowFontSbits">AllowFontSbits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the embedded bitmaps from the EBDT font table can be used.</p>
<p>The default is true.</p>
<p>
This property affects text drawing on GcBitmapGraphics only.
Also, it has no effect if <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UseBitmapCache.html#GrapeCity_Documents_Text_TextFormat_UseBitmapCache">UseBitmapCache</a> is set to false.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_BackColor" data-uid="GrapeCity.Documents.Text.TextFormat.BackColor">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.BackColor.html#GrapeCity_Documents_Text_TextFormat_BackColor">BackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text background color. The default is transparent.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_CharWidthFactor" data-uid="GrapeCity.Documents.Text.TextFormat.CharWidthFactor">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.CharWidthFactor.html#GrapeCity_Documents_Text_TextFormat_CharWidthFactor">CharWidthFactor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the character width scale factor (or height scale factor for vertical text).</p>
<p>Valid values are between 0.1 and 10.0. The default is 1.0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_DoubleUnderline" data-uid="GrapeCity.Documents.Text.TextFormat.DoubleUnderline">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.DoubleUnderline.html#GrapeCity_Documents_Text_TextFormat_DoubleUnderline">DoubleUnderline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the text is double underlined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_EnableFontHinting" data-uid="GrapeCity.Documents.Text.TextFormat.EnableFontHinting">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.EnableFontHinting.html#GrapeCity_Documents_Text_TextFormat_EnableFontHinting">EnableFontHinting</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether font hinting should be enabled for TrueType fonts.</p>
<p>The default is true.</p>
<p>This property affects text drawing on GcBitmapGraphics only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FillBrush" data-uid="GrapeCity.Documents.Text.TextFormat.FillBrush">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FillBrush.html#GrapeCity_Documents_Text_TextFormat_FillBrush">FillBrush</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Documents.Drawing.Brush.html">Brush</a> to fill the glyphs.</p>
<p>The <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FillBrush.html#GrapeCity_Documents_Text_TextFormat_FillBrush">FillBrush</a> property has a priority over the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.ForeColor.html#GrapeCity_Documents_Text_TextFormat_ForeColor">ForeColor</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Font" data-uid="GrapeCity.Documents.Text.TextFormat.Font">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Font.html#GrapeCity_Documents_Text_TextFormat_Font">Font</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a <a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a> used by this format.</p>
<p>If not null, this value overrides the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontName.html#GrapeCity_Documents_Text_TextFormat_FontName">FontName</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontBold" data-uid="GrapeCity.Documents.Text.TextFormat.FontBold">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontBold.html#GrapeCity_Documents_Text_TextFormat_FontBold">FontBold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the font should be bolded.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontFeatures" data-uid="GrapeCity.Documents.Text.TextFormat.FontFeatures">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontFeatures.html#GrapeCity_Documents_Text_TextFormat_FontFeatures">FontFeatures</a>
        </td>
        <td class="markdown level1 summary"><p>Provides access to a set of Microsoft OpenType typography properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontItalic" data-uid="GrapeCity.Documents.Text.TextFormat.FontItalic">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontItalic.html#GrapeCity_Documents_Text_TextFormat_FontItalic">FontItalic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the font should be italicized.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontName" data-uid="GrapeCity.Documents.Text.TextFormat.FontName">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontName.html#GrapeCity_Documents_Text_TextFormat_FontName">FontName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a font family name.</p>
<p>This value is used only if the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Font.html#GrapeCity_Documents_Text_TextFormat_Font">Font</a> property is null.</p>
<p>This value is case insensitive.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontSize" data-uid="GrapeCity.Documents.Text.TextFormat.FontSize">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontSize.html#GrapeCity_Documents_Text_TextFormat_FontSize">FontSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the logical font size, in points or in graphic units.</p>
<p>The default value is 12.</p>
<p>See also the description of the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontSizeInGraphicUnits.html#GrapeCity_Documents_Text_TextFormat_FontSizeInGraphicUnits">FontSizeInGraphicUnits</a> property.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontSizeInGraphicUnits" data-uid="GrapeCity.Documents.Text.TextFormat.FontSizeInGraphicUnits">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontSizeInGraphicUnits.html#GrapeCity_Documents_Text_TextFormat_FontSizeInGraphicUnits">FontSizeInGraphicUnits</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontSize.html#GrapeCity_Documents_Text_TextFormat_FontSize">FontSize</a>
specifies the font size in graphic units or in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_FontStyle" data-uid="GrapeCity.Documents.Text.TextFormat.FontStyle">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontStyle.html#GrapeCity_Documents_Text_TextFormat_FontStyle">FontStyle</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the flags indicating the desired or emulated style of the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_ForeColor" data-uid="GrapeCity.Documents.Text.TextFormat.ForeColor">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.ForeColor.html#GrapeCity_Documents_Text_TextFormat_ForeColor">ForeColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text foreground color. The default is black.</p>
<p>The <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FillBrush.html#GrapeCity_Documents_Text_TextFormat_FillBrush">FillBrush</a> property has a priority over the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.ForeColor.html#GrapeCity_Documents_Text_TextFormat_ForeColor">ForeColor</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_GlyphAdvanceFactor" data-uid="GrapeCity.Documents.Text.TextFormat.GlyphAdvanceFactor">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.GlyphAdvanceFactor.html#GrapeCity_Documents_Text_TextFormat_GlyphAdvanceFactor">GlyphAdvanceFactor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the scaling factor for the glyph advance value relative to font's Average Character Width.</p>
<p>Valid values are from 0.5 up. The default is 1.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_GlyphAdvanceOffset" data-uid="GrapeCity.Documents.Text.TextFormat.GlyphAdvanceOffset">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.GlyphAdvanceOffset.html#GrapeCity_Documents_Text_TextFormat_GlyphAdvanceOffset">GlyphAdvanceOffset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the absolute increment (delta) for the glyph advance value, in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_GlyphWidths" data-uid="GrapeCity.Documents.Text.TextFormat.GlyphWidths">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.GlyphWidths.html#GrapeCity_Documents_Text_TextFormat_GlyphWidths">GlyphWidths</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the preferred glyph widths (generally used in CJKV fonts).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Hollow" data-uid="GrapeCity.Documents.Text.TextFormat.Hollow">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Hollow.html#GrapeCity_Documents_Text_TextFormat_Hollow">Hollow</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the glyphs are hollow (outlined), otherwise they are solid.</p>
<p>The <a class="xref" href="GrapeCity.Documents.Text.TextFormat.StrokePen.html#GrapeCity_Documents_Text_TextFormat_StrokePen">StrokePen</a> property must be set in order to draw outlined glyphs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Language" data-uid="GrapeCity.Documents.Text.TextFormat.Language">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Language.html#GrapeCity_Documents_Text_TextFormat_Language">Language</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value identifying the language system.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_LineGap" data-uid="GrapeCity.Documents.Text.TextFormat.LineGap">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.LineGap.html#GrapeCity_Documents_Text_TextFormat_LineGap">LineGap</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value specifying the explicit line gap (if not null), in graphic units.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Palette" data-uid="GrapeCity.Documents.Text.TextFormat.Palette">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Palette.html#GrapeCity_Documents_Text_TextFormat_Palette">Palette</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a palette used for drawing color fonts.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_RecalcFontSizeForFallbackFonts" data-uid="GrapeCity.Documents.Text.TextFormat.RecalcFontSizeForFallbackFonts">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.RecalcFontSizeForFallbackFonts.html#GrapeCity_Documents_Text_TextFormat_RecalcFontSizeForFallbackFonts">RecalcFontSizeForFallbackFonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the size of fallback font should be coerced to the size of original font (true by default).</p>
<p>This property does not affect behavior of linked fonts with specified scale factor.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Script" data-uid="GrapeCity.Documents.Text.TextFormat.Script">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Script.html#GrapeCity_Documents_Text_TextFormat_Script">Script</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an OpenType script tag.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_SidewaysInVerticalText" data-uid="GrapeCity.Documents.Text.TextFormat.SidewaysInVerticalText">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.SidewaysInVerticalText.html#GrapeCity_Documents_Text_TextFormat_SidewaysInVerticalText">SidewaysInVerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if all characters should appear as rotated 90 or -90 degrees in vertical text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_SkipNormalization" data-uid="GrapeCity.Documents.Text.TextFormat.SkipNormalization">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.SkipNormalization.html#GrapeCity_Documents_Text_TextFormat_SkipNormalization">SkipNormalization</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the canonical decomposition, reordering, and composition stages should be omitted.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_StrictCanonicalDecomposition" data-uid="GrapeCity.Documents.Text.TextFormat.StrictCanonicalDecomposition">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.StrictCanonicalDecomposition.html#GrapeCity_Documents_Text_TextFormat_StrictCanonicalDecomposition">StrictCanonicalDecomposition</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to apply normalization to Singleton Decompositions
and Post Composition Version precomposed characters.</p>
<p>
By default this property is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.
If set to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, CJK compatibility ideographs can be
changed to CJK unified ideographs during the normalization process.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Strikethrough" data-uid="GrapeCity.Documents.Text.TextFormat.Strikethrough">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Strikethrough.html#GrapeCity_Documents_Text_TextFormat_Strikethrough">Strikethrough</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the strikethrough style is applied to the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_StrokePen" data-uid="GrapeCity.Documents.Text.TextFormat.StrokePen">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.StrokePen.html#GrapeCity_Documents_Text_TextFormat_StrokePen">StrokePen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="GrapeCity.Documents.Drawing.Pen.html">Pen</a> to draw glyph outlines.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Subscript" data-uid="GrapeCity.Documents.Text.TextFormat.Subscript">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Subscript.html#GrapeCity_Documents_Text_TextFormat_Subscript">Subscript</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the glyphs should be displayed as subscript.</p>
<p>Setting this property to <code>true</code> also sets the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Superscript.html#GrapeCity_Documents_Text_TextFormat_Superscript">Superscript</a> property to <code>false</code>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Superscript" data-uid="GrapeCity.Documents.Text.TextFormat.Superscript">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Superscript.html#GrapeCity_Documents_Text_TextFormat_Superscript">Superscript</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the glyphs should be displayed as superscript.</p>
<p>Setting this property to <code>true</code> also sets the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Subscript.html#GrapeCity_Documents_Text_TextFormat_Subscript">Subscript</a> property to <code>false</code>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Tag" data-uid="GrapeCity.Documents.Text.TextFormat.Tag">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Tag.html#GrapeCity_Documents_Text_TextFormat_Tag">Tag</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an arbitrary custom data associated with this <a class="xref" href="GrapeCity.Documents.Text.TextFormat.html">TextFormat</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_TextDecorations" data-uid="GrapeCity.Documents.Text.TextFormat.TextDecorations">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.TextDecorations.html#GrapeCity_Documents_Text_TextFormat_TextDecorations">TextDecorations</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the flags indicating which decorations are applied to the text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_TextRunAsCluster" data-uid="GrapeCity.Documents.Text.TextFormat.TextRunAsCluster">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.TextRunAsCluster.html#GrapeCity_Documents_Text_TextFormat_TextRunAsCluster">TextRunAsCluster</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the whole <a class="xref" href="GrapeCity.Documents.Text.TextRun.html">TextRun</a> should be considered as a single Grapheme Cluster.</p>
<p>It allows displaying several characters side-by-side horizontally in a vertical text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_TransformToFullWidth" data-uid="GrapeCity.Documents.Text.TextFormat.TransformToFullWidth">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.TransformToFullWidth.html#GrapeCity_Documents_Text_TextFormat_TransformToFullWidth">TransformToFullWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if ASCII characters should be transformed into fullwidth characters.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_TransverseOffset" data-uid="GrapeCity.Documents.Text.TextFormat.TransverseOffset">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.TransverseOffset.html#GrapeCity_Documents_Text_TextFormat_TransverseOffset">TransverseOffset</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the offset of the text in the orthogonal direction, in graphic units.</p>
<p>The default is 0.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_TreatHyphenMinusAsHyphen" data-uid="GrapeCity.Documents.Text.TextFormat.TreatHyphenMinusAsHyphen">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.TreatHyphenMinusAsHyphen.html#GrapeCity_Documents_Text_TextFormat_TreatHyphenMinusAsHyphen">TreatHyphenMinusAsHyphen</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the character <b>'HYPHEN-MINUS' (U+002D)</b>
is treated as the character <b>'HYPHEN' (U+2010)</b> by the Unicode line breaking algorithm.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_Underline" data-uid="GrapeCity.Documents.Text.TextFormat.Underline">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.Underline.html#GrapeCity_Documents_Text_TextFormat_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the text is underlined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UnderlineOrDoubleUnderline" data-uid="GrapeCity.Documents.Text.TextFormat.UnderlineOrDoubleUnderline">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UnderlineOrDoubleUnderline.html#GrapeCity_Documents_Text_TextFormat_UnderlineOrDoubleUnderline">UnderlineOrDoubleUnderline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating if the text is underlined or double underlined.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UprightInVerticalText" data-uid="GrapeCity.Documents.Text.TextFormat.UprightInVerticalText">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UprightInVerticalText.html#GrapeCity_Documents_Text_TextFormat_UprightInVerticalText">UprightInVerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the normally sideways characters should be drawn upright in vertical text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UseBitmapCache" data-uid="GrapeCity.Documents.Text.TextFormat.UseBitmapCache">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UseBitmapCache.html#GrapeCity_Documents_Text_TextFormat_UseBitmapCache">UseBitmapCache</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the Bitmap Glyph Cache is allowed.</p>
<p>The default is true.</p>
<p>This property affects text drawing on GcBitmapGraphics only.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UseHorizontalMetricsForVerticalText" data-uid="GrapeCity.Documents.Text.TextFormat.UseHorizontalMetricsForVerticalText">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UseHorizontalMetricsForVerticalText.html#GrapeCity_Documents_Text_TextFormat_UseHorizontalMetricsForVerticalText">UseHorizontalMetricsForVerticalText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating if the horizontal ascending, descending, and line gap settings should be applied to vertical text.
The special vertical metrics are used by default.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UseTypoMetrics" data-uid="GrapeCity.Documents.Text.TextFormat.UseTypoMetrics">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UseTypoMetrics.html#GrapeCity_Documents_Text_TextFormat_UseTypoMetrics">UseTypoMetrics</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the typographical font metrics should be applied
instead of Windows-specific and Apple-specific font metrics.</p>
<p>Font Ascender, Descender, and Line Gap are affected.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_UseVerticalLineGapForSideways" data-uid="GrapeCity.Documents.Text.TextFormat.UseVerticalLineGapForSideways">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.UseVerticalLineGapForSideways.html#GrapeCity_Documents_Text_TextFormat_UseVerticalLineGapForSideways">UseVerticalLineGapForSideways</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating that for sideways text in vertical flow (see <a class="xref" href="GrapeCity.Documents.Text.TextLayout.FlowDirection.html#GrapeCity_Documents_Text_TextLayout_FlowDirection">FlowDirection</a>, line gap will be set according to <a class="xref" href="GrapeCity.Documents.Text.Font.VerticalLineGap.html#GrapeCity_Documents_Text_Font_VerticalLineGap">VerticalLineGap</a>.</p>
<p>If false (the default), line gap for lines containing sideways text is set according to <a class="xref" href="GrapeCity.Documents.Text.Font.HorizontalLineGap.html#GrapeCity_Documents_Text_Font_HorizontalLineGap">HorizontalLineGap</a> or <span class="xref">GrapeCity.Documents.Text.Font.TypoLineGap</span>,
which can lead to different gaps between columns that contain sideways text runs and those that do not.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_CopyTo_GrapeCity_Documents_Text_TextFormat_" data-uid="GrapeCity.Documents.Text.TextFormat.CopyTo(GrapeCity.Documents.Text.TextFormat)">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.CopyTo.html#GrapeCity_Documents_Text_TextFormat_CopyTo_GrapeCity_Documents_Text_TextFormat_">CopyTo(TextFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the current text format settings to another <a class="xref" href="GrapeCity.Documents.Text.TextFormat.html">TextFormat</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_CultureToLanguage_System_Globalization_CultureInfo_" data-uid="GrapeCity.Documents.Text.TextFormat.CultureToLanguage(System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.CultureToLanguage.html#GrapeCity_Documents_Text_TextFormat_CultureToLanguage_System_Globalization_CultureInfo_">CultureToLanguage(CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Text.Language.html">Language</a> value corresponding to a given <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.globalization.cultureinfo">CultureInfo</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_ResolveFontName_GrapeCity_Documents_Text_IFontCollection_System_Boolean_GrapeCity_Documents_Text_Font_" data-uid="GrapeCity.Documents.Text.TextFormat.ResolveFontName(GrapeCity.Documents.Text.IFontCollection,System.Boolean,GrapeCity.Documents.Text.Font)">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.ResolveFontName.html#GrapeCity_Documents_Text_TextFormat_ResolveFontName_GrapeCity_Documents_Text_IFontCollection_System_Boolean_GrapeCity_Documents_Text_Font_">ResolveFontName(IFontCollection, bool, Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the <a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a> object for the current settings in the <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontName.html#GrapeCity_Documents_Text_TextFormat_FontName">FontName</a>, <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontBold.html#GrapeCity_Documents_Text_TextFormat_FontBold">FontBold</a>, <a class="xref" href="GrapeCity.Documents.Text.TextFormat.FontItalic.html#GrapeCity_Documents_Text_TextFormat_FontItalic">FontItalic</a> properties.
Note that if the FontName is specified (not empty), this method will return the same font that would be used by a <a class="xref" href="GrapeCity.Documents.Text.TextLayout.html">TextLayout</a> given the same settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_TextFormat_ScriptCodeToTag_GrapeCity_Documents_Text_ScriptCode_System_Boolean_" data-uid="GrapeCity.Documents.Text.TextFormat.ScriptCodeToTag(GrapeCity.Documents.Text.ScriptCode,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Text.TextFormat.ScriptCodeToTag.html#GrapeCity_Documents_Text_TextFormat_ScriptCodeToTag_GrapeCity_Documents_Text_ScriptCode_System_Boolean_">ScriptCodeToTag(ScriptCode, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts a <a class="xref" href="GrapeCity.Documents.Text.ScriptCode.html">ScriptCode</a> value to the corresponding <a class="xref" href="GrapeCity.Documents.Text.ScriptTag.html">ScriptTag</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
