# C1.Framework.Drawing.Gdi.FontBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Drawing_Gdi_FontBuilder" data-uid="C1.Framework.Drawing.Gdi.FontBuilder" class="text-break">FontBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Represents a class that is used to builder some complex fonts.</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">FontBuilder</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Drawing.Gdi.html">C1.Framework.Drawing.Gdi</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Drawing_Gdi_FontBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public sealed class FontBuilder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public NotInheritable Class FontBuilder</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_Framework_Drawing_Gdi_FontBuilder__ctor_C1_Framework_Drawing_Gdi_Font_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(C1.Framework.Drawing.Gdi.Font)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_C1_Framework_Drawing_Gdi_Font_">FontBuilder(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> from a <a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_Drawing_Font_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.Drawing.Font)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_Drawing_Font_">FontBuilder(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> from a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_">FontBuilder(string, FontFamily, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code> and <code>height</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Drawing_FontStyle_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Drawing.FontStyle)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Drawing_FontStyle_">FontBuilder(string, FontFamily, int, FontStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code>, <code>height</code> and
<code>fontStyle</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Drawing_FontStyle_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Drawing.FontStyle,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Drawing_FontStyle_System_Int32_">FontBuilder(string, FontFamily, int, FontStyle, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code>, <code>height</code> and
<code>fontStyle</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Int32,System.Drawing.FontStyle)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_">FontBuilder(string, FontFamily, int, int, FontStyle)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code>, <code>height</code> and
<code>fontStyle</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Int32,System.Drawing.FontStyle,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_System_Int32_">FontBuilder(string, FontFamily, int, int, FontStyle, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code>, <code>height</code> and
<code>fontStyle</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_System_Int32_C1_Framework_Drawing_Gdi_FontPitch_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Int32,System.Drawing.FontStyle,System.Int32,C1.Framework.Drawing.Gdi.FontPitch)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Drawing_FontStyle_System_Int32_C1_Framework_Drawing_Gdi_FontPitch_">FontBuilder(string, FontFamily, int, int, FontStyle, int, FontPitch)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code>, <code>family</code>, <code>height</code> and
<code>fontStyle</code></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Int32_System_Byte_C1_Framework_Drawing_Gdi_FontOutPrecision_C1_Framework_Drawing_Gdi_FontClipPrecision_C1_Framework_Drawing_Gdi_FontQuality_C1_Framework_Drawing_Gdi_FontPitch_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,C1.Framework.Drawing.Gdi.FontFamily,System.Int32,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean,System.Int32,System.Byte,C1.Framework.Drawing.Gdi.FontOutPrecision,C1.Framework.Drawing.Gdi.FontClipPrecision,C1.Framework.Drawing.Gdi.FontQuality,C1.Framework.Drawing.Gdi.FontPitch)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_C1_Framework_Drawing_Gdi_FontFamily_System_Int32_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_System_Int32_System_Byte_C1_Framework_Drawing_Gdi_FontOutPrecision_C1_Framework_Drawing_Gdi_FontClipPrecision_C1_Framework_Drawing_Gdi_FontQuality_C1_Framework_Drawing_Gdi_FontPitch_">FontBuilder(string, FontFamily, int, int, int, int, bool, bool, bool, int, byte, FontOutPrecision, FontClipPrecision, FontQuality, FontPitch)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,System.Int32)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.-ctor.html#C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_System_Int32_">FontBuilder(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> by special <code>faceName</code> and <code>height</code></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_Framework_Drawing_Gdi_FontBuilder_CharSet" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.CharSet">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.CharSet.html#C1_Framework_Drawing_Gdi_FontBuilder_CharSet">CharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the CharSet of font</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_ClipPrecision" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.ClipPrecision">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.ClipPrecision.html#C1_Framework_Drawing_Gdi_FontBuilder_ClipPrecision">ClipPrecision</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the clipping precision.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Escapement" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Escapement">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Escapement.html#C1_Framework_Drawing_Gdi_FontBuilder_Escapement">Escapement</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the angle, in tenths of degrees, between the escapement vector and the x-axis of the device.
The escapement vector is parallel to the base line of a row of text.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_FaceName" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.FaceName">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.FaceName.html#C1_Framework_Drawing_Gdi_FontBuilder_FaceName">FaceName</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set a null-terminated string that specifies the typeface name of the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Family" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Family">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Family.html#C1_Framework_Drawing_Gdi_FontBuilder_Family">Family</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the font family</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Height" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Height">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Height.html#C1_Framework_Drawing_Gdi_FontBuilder_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the height, in logical units, of the font's character cell or character. The character height
value (also known as the em height) is the character cell height value minus the internal-leading value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Italic" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Italic">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Italic.html#C1_Framework_Drawing_Gdi_FontBuilder_Italic">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set <b>bool</b> which indicate whether the font is italic</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Orientation" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Orientation">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Orientation.html#C1_Framework_Drawing_Gdi_FontBuilder_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the angle, in tenths of degrees, between each character's base line and the x-axis of the device.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_OutPrecision" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.OutPrecision">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.OutPrecision.html#C1_Framework_Drawing_Gdi_FontBuilder_OutPrecision">OutPrecision</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the output precision.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Pitch" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Pitch">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Pitch.html#C1_Framework_Drawing_Gdi_FontBuilder_Pitch">Pitch</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the pitch of the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Quality" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Quality">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Quality.html#C1_Framework_Drawing_Gdi_FontBuilder_Quality">Quality</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the output quality.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_StrikeOut" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.StrikeOut">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.StrikeOut.html#C1_Framework_Drawing_Gdi_FontBuilder_StrikeOut">StrikeOut</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set <b>bool</b> which indicate whether the font is strikeout</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Underline" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Underline">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Underline.html#C1_Framework_Drawing_Gdi_FontBuilder_Underline">Underline</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set <b>bool</b> which indicate whether the font is underline</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Weight" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Weight">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Weight.html#C1_Framework_Drawing_Gdi_FontBuilder_Weight">Weight</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the weight of the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Width" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Width">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Width.html#C1_Framework_Drawing_Gdi_FontBuilder_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Get or set the average width, in logical units, of characters in the font.
If <code>value</code> is zero, the aspect ratio of the device is matched against the digitization aspect ratio of
the available fonts to find the closest match, determined by the absolute value of the difference.</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_Framework_Drawing_Gdi_FontBuilder_Bold_C1_Framework_Drawing_Gdi_Font_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Bold(C1.Framework.Drawing.Gdi.Font)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Bold.html#C1_Framework_Drawing_Gdi_FontBuilder_Bold_C1_Framework_Drawing_Gdi_Font_">Bold(Font)</a>
        </td>
        <td class="markdown level1 summary"><p>Create a bold <a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a> from current font</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Clone" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Clone">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Clone.html#C1_Framework_Drawing_Gdi_FontBuilder_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates an exact copy of this <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Create" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Create">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Create.html#C1_Framework_Drawing_Gdi_FontBuilder_Create">Create()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a new <a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a> from current <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_CreateGdiplusFont" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.CreateGdiplusFont">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.CreateGdiplusFont.html#C1_Framework_Drawing_Gdi_FontBuilder_CreateGdiplusFont">CreateGdiplusFont()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a new <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a> istance which its properties provided by <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a></p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontBuilder_Zoom_C1_Framework_Drawing_Gdi_Font_System_Single_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Zoom(C1.Framework.Drawing.Gdi.Font,System.Single)">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.Zoom.html#C1_Framework_Drawing_Gdi_FontBuilder_Zoom_C1_Framework_Drawing_Gdi_Font_System_Single_">Zoom(Font, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Zoom current <a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a> with zoom factor</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
