# C1.WPF.Excel.XLFont

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_WPF_Excel_XLFont" data-uid="C1.WPF.Excel.XLFont" class="text-break">XLFont Class
</h1>
  <div class="markdown level0 summary"><p>XLFont</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">XLFont</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.WPF.Excel.html">C1.WPF.Excel</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.Excel.4.6.2.dll</h6>
  <h5 id="C1_WPF_Excel_XLFont_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class XLFont</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class XLFont</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_Excel_XLFont__ctor_System_String_System_Single_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_">XLFont(string, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_">XLFont(string, float, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Boolean_C1_WPF_Excel_XLFontScript_C1_WPF_Excel_XLUnderlineStyle_System_Windows_Media_Color_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single,System.Boolean,System.Boolean,System.Boolean,C1.WPF.Excel.XLFontScript,C1.WPF.Excel.XLUnderlineStyle,System.Windows.Media.Color)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Boolean_C1_WPF_Excel_XLFontScript_C1_WPF_Excel_XLUnderlineStyle_System_Windows_Media_Color_">XLFont(string, float, bool, bool, bool, XLFontScript, XLUnderlineStyle, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Boolean_C1_WPF_Excel_XLFontScript_C1_WPF_Excel_XLUnderlineStyle_System_Windows_Media_Color_System_Byte_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single,System.Boolean,System.Boolean,System.Boolean,C1.WPF.Excel.XLFontScript,C1.WPF.Excel.XLUnderlineStyle,System.Windows.Media.Color,System.Byte)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Boolean_C1_WPF_Excel_XLFontScript_C1_WPF_Excel_XLUnderlineStyle_System_Windows_Media_Color_System_Byte_">XLFont(string, float, bool, bool, bool, XLFontScript, XLUnderlineStyle, Color, byte)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Windows_Media_Color_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single,System.Boolean,System.Boolean,System.Windows.Media.Color)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Boolean_System_Boolean_System_Windows_Media_Color_">XLFont(string, float, bool, bool, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Windows_Media_Color_" data-uid="C1.WPF.Excel.XLFont.#ctor(System.String,System.Single,System.Windows.Media.Color)">
          <a class="xref" href="C1.WPF.Excel.XLFont.-ctor.html#C1_WPF_Excel_XLFont__ctor_System_String_System_Single_System_Windows_Media_Color_">XLFont(string, float, Color)</a>
        </td>
        <td class="markdown level1 summary"><p>Excel font initialization.</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_Excel_XLFont_Bold" data-uid="C1.WPF.Excel.XLFont.Bold">
          <a class="xref" href="C1.WPF.Excel.XLFont.Bold.html#C1_WPF_Excel_XLFont_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets bold flag of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_CharSet" data-uid="C1.WPF.Excel.XLFont.CharSet">
          <a class="xref" href="C1.WPF.Excel.XLFont.CharSet.html#C1_WPF_Excel_XLFont_CharSet">CharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets char set value of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_Color" data-uid="C1.WPF.Excel.XLFont.Color">
          <a class="xref" href="C1.WPF.Excel.XLFont.Color.html#C1_WPF_Excel_XLFont_Color">Color</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.color">Color</a> value of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_FontName" data-uid="C1.WPF.Excel.XLFont.FontName">
          <a class="xref" href="C1.WPF.Excel.XLFont.FontName.html#C1_WPF_Excel_XLFont_FontName">FontName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Excel font name (font family).</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_FontSize" data-uid="C1.WPF.Excel.XLFont.FontSize">
          <a class="xref" href="C1.WPF.Excel.XLFont.FontSize.html#C1_WPF_Excel_XLFont_FontSize">FontSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Excel font size in points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_Italic" data-uid="C1.WPF.Excel.XLFont.Italic">
          <a class="xref" href="C1.WPF.Excel.XLFont.Italic.html#C1_WPF_Excel_XLFont_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets italic flag of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_Script" data-uid="C1.WPF.Excel.XLFont.Script">
          <a class="xref" href="C1.WPF.Excel.XLFont.Script.html#C1_WPF_Excel_XLFont_Script">Script</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.WPF.Excel.XLFontScript.html">XLFontScript</a> value of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_SizeInPoints" data-uid="C1.WPF.Excel.XLFont.SizeInPoints">
          <a class="xref" href="C1.WPF.Excel.XLFont.SizeInPoints.html#C1_WPF_Excel_XLFont_SizeInPoints">SizeInPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets Excel font size in points.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_Strikeout" data-uid="C1.WPF.Excel.XLFont.Strikeout">
          <a class="xref" href="C1.WPF.Excel.XLFont.Strikeout.html#C1_WPF_Excel_XLFont_Strikeout">Strikeout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets strikeout flag of the Excel font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_Underline" data-uid="C1.WPF.Excel.XLFont.Underline">
          <a class="xref" href="C1.WPF.Excel.XLFont.Underline.html#C1_WPF_Excel_XLFont_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.WPF.Excel.XLUnderlineStyle.html">XLUnderlineStyle</a> value of the Excel 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="C1_WPF_Excel_XLFont_Equals_System_Object_" data-uid="C1.WPF.Excel.XLFont.Equals(System.Object)">
          <a class="xref" href="C1.WPF.Excel.XLFont.Equals.html#C1_WPF_Excel_XLFont_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified System.Object instances are considered equal.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_GetHashCode" data-uid="C1.WPF.Excel.XLFont.GetHashCode">
          <a class="xref" href="C1.WPF.Excel.XLFont.GetHashCode.html#C1_WPF_Excel_XLFont_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Serves as a hash function for a particular type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_WPF_Excel_XLFont_GetMeasure_System_String_" data-uid="C1.WPF.Excel.XLFont.GetMeasure(System.String)">
          <a class="xref" href="C1.WPF.Excel.XLFont.GetMeasure.html#C1_WPF_Excel_XLFont_GetMeasure_System_String_">GetMeasure(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets text measure as <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.size">Size</a> of this font.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
