# GrapeCity.Documents.Word.Font

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_Font" data-uid="GrapeCity.Documents.Word.Font" class="text-break">Font Class
</h1>
  <div class="markdown level0 summary"><p>Represents font attributes (font name, size, color, and so on) for an object.</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"><a class="xref" href="GrapeCity.Documents.Word.FormattingBag.html">FormattingBag</a></div>
    <div class="level2"><a class="xref" href="GrapeCity.Documents.Word.FontBase.html">FontBase</a></div>
    <div class="level3"><span class="xref">Font</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_Font_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Font : FontBase</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Font
    Inherits FontBase</code></pre>
  </div>
  <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_Word_Font_ContextualAlternates" data-uid="GrapeCity.Documents.Word.Font.ContextualAlternates">
          <a class="xref" href="GrapeCity.Documents.Word.Font.ContextualAlternates.html#GrapeCity_Documents_Word_Font_ContextualAlternates">ContextualAlternates</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether contextual alternates are enabled for the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_Effects" data-uid="GrapeCity.Documents.Word.Font.Effects">
          <a class="xref" href="GrapeCity.Documents.Word.Font.Effects.html#GrapeCity_Documents_Word_Font_Effects">Effects</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text effects formatting properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_Fill" data-uid="GrapeCity.Documents.Word.Font.Fill">
          <a class="xref" href="GrapeCity.Documents.Word.Font.Fill.html#GrapeCity_Documents_Word_Font_Fill">Fill</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the fill formatting properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_HighlightColor" data-uid="GrapeCity.Documents.Word.Font.HighlightColor">
          <a class="xref" href="GrapeCity.Documents.Word.Font.HighlightColor.html#GrapeCity_Documents_Word_Font_HighlightColor">HighlightColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the highlight (marker) color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_Ligatures" data-uid="GrapeCity.Documents.Word.Font.Ligatures">
          <a class="xref" href="GrapeCity.Documents.Word.Font.Ligatures.html#GrapeCity_Documents_Word_Font_Ligatures">Ligatures</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets ligatures that are two or more glyphs that are represented by what appears
to the reader as a single character in order to create more readable or attractive text.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_Line" data-uid="GrapeCity.Documents.Word.Font.Line">
          <a class="xref" href="GrapeCity.Documents.Word.Font.Line.html#GrapeCity_Documents_Word_Font_Line">Line</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the outline text effect formatting properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_NumberForm" data-uid="GrapeCity.Documents.Word.Font.NumberForm">
          <a class="xref" href="GrapeCity.Documents.Word.Font.NumberForm.html#GrapeCity_Documents_Word_Font_NumberForm">NumberForm</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number form setting for an OpenType font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_NumberSpacing" data-uid="GrapeCity.Documents.Word.Font.NumberSpacing">
          <a class="xref" href="GrapeCity.Documents.Word.Font.NumberSpacing.html#GrapeCity_Documents_Word_Font_NumberSpacing">NumberSpacing</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number spacing setting for a font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_RightToLeft" data-uid="GrapeCity.Documents.Word.Font.RightToLeft">
          <a class="xref" href="GrapeCity.Documents.Word.Font.RightToLeft.html#GrapeCity_Documents_Word_Font_RightToLeft">RightToLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the contents shall have right-to-left characteristics.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_StylisticSets" data-uid="GrapeCity.Documents.Word.Font.StylisticSets">
          <a class="xref" href="GrapeCity.Documents.Word.Font.StylisticSets.html#GrapeCity_Documents_Word_Font_StylisticSets">StylisticSets</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the stylistic set for the specified font.</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_Word_Font_ApplyEffectsPreset_GrapeCity_Documents_Word_FontEffectsPreset_" data-uid="GrapeCity.Documents.Word.Font.ApplyEffectsPreset(GrapeCity.Documents.Word.FontEffectsPreset)">
          <a class="xref" href="GrapeCity.Documents.Word.Font.ApplyEffectsPreset.html#GrapeCity_Documents_Word_Font_ApplyEffectsPreset_GrapeCity_Documents_Word_FontEffectsPreset_">ApplyEffectsPreset(FontEffectsPreset)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies a built-in font effects preset.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_Font_ClearFormatting" data-uid="GrapeCity.Documents.Word.Font.ClearFormatting">
          <a class="xref" href="GrapeCity.Documents.Word.Font.ClearFormatting.html#GrapeCity_Documents_Word_Font_ClearFormatting">ClearFormatting()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets to default font formatting.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
