# GrapeCity.ActiveReports.Chart.Drawing.Font

## Content

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



  <h1 id="GrapeCity_ActiveReports_Chart_Drawing_Font" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font" class="text-break">Font Class
</h1>
  <div class="markdown level0 summary"><p>An immutable, GDI-like description of a font face, size, style and unit of measure.
Used throughout the chart to specify the typography of titles, labels and other text without
depending directly on <code>System.Drawing.Font</code>.</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>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.html">GrapeCity.ActiveReports.Chart.Drawing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Chart.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Chart_Drawing_Font_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof())]
public sealed class Font : IDisposable, ICloneable</code></pre>
  </div>
  <h5 id="GrapeCity_ActiveReports_Chart_Drawing_Font_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Instances are immutable: all characteristics are supplied at construction time and exposed as
read-only properties. The type implements <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a> and <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>
for interface compatibility, but because instances hold no unmanaged resources
<a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Clone.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Clone">Clone()</a> returns the same instance and <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Dispose.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Dispose">Dispose()</a> performs no work.</p>
</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_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.#ctor(System.String,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.-ctor.html#GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_">Font(string, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a font with the given family name and em size, using a regular style measured in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.#ctor(System.String,System.Single,GrapeCity.ActiveReports.Chart.Drawing.FontStyle)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.-ctor.html#GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_">Font(string, float, FontStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a font with the given family name, em size and style, measured in points.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.#ctor(System.String,System.Single,GrapeCity.ActiveReports.Chart.Drawing.FontStyle,GrapeCity.ActiveReports.Chart.Drawing.GraphicsUnit)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.-ctor.html#GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_">Font(string, float, FontStyle, GraphicsUnit)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a font with the given family name, em size, style and unit of measure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_System_Byte_System_Boolean_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.#ctor(System.String,System.Single,GrapeCity.ActiveReports.Chart.Drawing.FontStyle,GrapeCity.ActiveReports.Chart.Drawing.GraphicsUnit,System.Byte,System.Boolean)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.-ctor.html#GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_FontStyle_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_System_Byte_System_Boolean_">Font(string, float, FontStyle, GraphicsUnit, byte, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a font with full control over family name, size, style, unit and GDI character-set information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.#ctor(System.String,System.Single,GrapeCity.ActiveReports.Chart.Drawing.GraphicsUnit)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.-ctor.html#GrapeCity_ActiveReports_Chart_Drawing_Font__ctor_System_String_System_Single_GrapeCity_ActiveReports_Chart_Drawing_GraphicsUnit_">Font(string, float, GraphicsUnit)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a font with the given family name and em size, expressed in the specified unit, using a regular style.</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_ActiveReports_Chart_Drawing_Font_Bold" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Bold">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Bold.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Bold">Bold</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the font's style includes <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.FontStyle.html#GrapeCity_ActiveReports_Chart_Drawing_FontStyle_Bold">Bold</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_GdiCharSet" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.GdiCharSet">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.GdiCharSet.html#GrapeCity_ActiveReports_Chart_Drawing_Font_GdiCharSet">GdiCharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the GDI character set used by this font, as defined by the Windows <code>LOGFONT</code> structure.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_GdiVerticalFont" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.GdiVerticalFont">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.GdiVerticalFont.html#GrapeCity_ActiveReports_Chart_Drawing_Font_GdiVerticalFont">GdiVerticalFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this font was derived from the vertical (top-to-bottom) variant of a GDI font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Italic" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Italic">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Italic.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the font's style includes <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.FontStyle.html#GrapeCity_ActiveReports_Chart_Drawing_FontStyle_Italic">Italic</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Name" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Name">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Name.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the name of the font family. This is the value typically edited in the designer.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_OriginalFontName" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.OriginalFontName">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.OriginalFontName.html#GrapeCity_ActiveReports_Chart_Drawing_Font_OriginalFontName">OriginalFontName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font family name exactly as it was supplied when the font was created, before any substitution.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Size" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Size">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Size.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Size">Size</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the em size of the font, expressed in the unit reported by <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Unit.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Unit">Unit</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_SizeInPoints" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.SizeInPoints">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.SizeInPoints.html#GrapeCity_ActiveReports_Chart_Drawing_Font_SizeInPoints">SizeInPoints</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the font size converted to points, regardless of the unit the font was created with.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Strikeout" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Strikeout">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Strikeout.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Strikeout">Strikeout</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the font's style includes <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.FontStyle.html#GrapeCity_ActiveReports_Chart_Drawing_FontStyle_Strikeout">Strikeout</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Style" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Style">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Style.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Style">Style</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the combination of style flags (bold, italic, underline, strikeout) applied to the font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Underline" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Underline">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Underline.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the font's style includes <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.FontStyle.html#GrapeCity_ActiveReports_Chart_Drawing_FontStyle_Underline">Underline</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Unit" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Unit">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Unit.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Unit">Unit</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the unit of measure in which <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Size.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Size">Size</a> is expressed.</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_ActiveReports_Chart_Drawing_Font_Clone" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Clone">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Clone.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns this font instance. Because <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.html">Font</a> is immutable, no copy is required and the
same reference can be shared safely.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Dispose" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Dispose">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Dispose.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Releases the resources used by the font. This implementation is a no-op because the type holds no
unmanaged resources; it exists only to satisfy <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_Equals_System_Object_" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.Equals(System.Object)">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Equals.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified object is a <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.html">Font</a> that describes the same family,
size, style, unit and GDI character-set information as this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_GetHashCode" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.GetHashCode">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.GetHashCode.html#GrapeCity_ActiveReports_Chart_Drawing_Font_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code derived from the font's style, unit and size, consistent with <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.Equals.html#GrapeCity_ActiveReports_Chart_Drawing_Font_Equals_System_Object_">Equals(object)</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Chart_Drawing_Font_ToString" data-uid="GrapeCity.ActiveReports.Chart.Drawing.Font.ToString">
          <a class="xref" href="GrapeCity.ActiveReports.Chart.Drawing.Font.ToString.html#GrapeCity_ActiveReports_Chart_Drawing_Font_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a human-readable description of the font, including its name, size, unit and GDI character-set information.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
