# C1.WPF.Word.Font

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Word_Font" data-uid="C1.WPF.Word.Font" class="text-break">Font Class
</h1>
  <div class="markdown level0 summary"><p>Defines a format for text, including font face, size, and style attributes.</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">Font</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Word.html">C1.WPF.Word</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Word.4.6.2.dll</h6>
  <h5 id="C1_WPF_Word_Font_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Font</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="C1_WPF_Word_Font__ctor_C1_WPF_Word_RtfFontStyle_System_Double_System_Byte___" data-uid="C1.WPF.Word.Font.#ctor(C1.WPF.Word.RtfFontStyle,System.Double,System.Byte[])">
          <a class="xref" href="C1.WPF.Word.Font.-ctor.html#C1_WPF_Word_Font__ctor_C1_WPF_Word_RtfFontStyle_System_Double_System_Byte___">Font(RtfFontStyle, double, byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Word.Font.html">Font</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font__ctor_C1_WPF_Word_RtfFontStyle_System_Double_System_String_" data-uid="C1.WPF.Word.Font.#ctor(C1.WPF.Word.RtfFontStyle,System.Double,System.String)">
          <a class="xref" href="C1.WPF.Word.Font.-ctor.html#C1_WPF_Word_Font__ctor_C1_WPF_Word_RtfFontStyle_System_Double_System_String_">Font(RtfFontStyle, double, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Word.Font.html">Font</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font__ctor_System_String_System_Double_" data-uid="C1.WPF.Word.Font.#ctor(System.String,System.Double)">
          <a class="xref" href="C1.WPF.Word.Font.-ctor.html#C1_WPF_Word_Font__ctor_System_String_System_Double_">Font(string, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Word.Font.html">Font</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font__ctor_System_String_System_Double_C1_WPF_Word_RtfFontStyle_" data-uid="C1.WPF.Word.Font.#ctor(System.String,System.Double,C1.WPF.Word.RtfFontStyle)">
          <a class="xref" href="C1.WPF.Word.Font.-ctor.html#C1_WPF_Word_Font__ctor_System_String_System_Double_C1_WPF_Word_RtfFontStyle_">Font(string, double, RtfFontStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of a <a class="xref" href="C1.WPF.Word.Font.html">Font</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="C1_WPF_Word_Font_Bold" data-uid="C1.WPF.Word.Font.Bold">
          <a class="xref" href="C1.WPF.Word.Font.Bold.html#C1_WPF_Word_Font_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether this font is bold.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_FontFamily" data-uid="C1.WPF.Word.Font.FontFamily">
          <a class="xref" href="C1.WPF.Word.Font.FontFamily.html#C1_WPF_Word_Font_FontFamily">FontFamily</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font family.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_GdiCharSet" data-uid="C1.WPF.Word.Font.GdiCharSet">
          <a class="xref" href="C1.WPF.Word.Font.GdiCharSet.html#C1_WPF_Word_Font_GdiCharSet">GdiCharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets charset code for this font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_GdiVerticalFont" data-uid="C1.WPF.Word.Font.GdiVerticalFont">
          <a class="xref" href="C1.WPF.Word.Font.GdiVerticalFont.html#C1_WPF_Word_Font_GdiVerticalFont">GdiVerticalFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets vertical font flag for this font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Italic" data-uid="C1.WPF.Word.Font.Italic">
          <a class="xref" href="C1.WPF.Word.Font.Italic.html#C1_WPF_Word_Font_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether this font is italic.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Name" data-uid="C1.WPF.Word.Font.Name">
          <a class="xref" href="C1.WPF.Word.Font.Name.html#C1_WPF_Word_Font_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Size" data-uid="C1.WPF.Word.Font.Size">
          <a class="xref" href="C1.WPF.Word.Font.Size.html#C1_WPF_Word_Font_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font size in points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Strikeout" data-uid="C1.WPF.Word.Font.Strikeout">
          <a class="xref" href="C1.WPF.Word.Font.Strikeout.html#C1_WPF_Word_Font_Strikeout">Strikeout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether this font has a horizontal line through it.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Style" data-uid="C1.WPF.Word.Font.Style">
          <a class="xref" href="C1.WPF.Word.Font.Style.html#C1_WPF_Word_Font_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font style attributes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Word_Font_Underline" data-uid="C1.WPF.Word.Font.Underline">
          <a class="xref" href="C1.WPF.Word.Font.Underline.html#C1_WPF_Word_Font_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value that determines whether this font is underlined.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
