# C1.Framework.Drawing.Gdi.FontBuilder.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*">FontBuilder Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(Font)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(font As Font)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>A <a class="xref" href="C1.Framework.Drawing.Gdi.Font.html">Font</a> indicate the template</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_Drawing_Font_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.Drawing.Font)">FontBuilder(Font)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(Font gdiplusFont)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(gdiplusFont As Font)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">gdiplusFont</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a> indicate the template</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, int, int, int, bool, bool, bool, int, byte, FontOutPrecision, FontClipPrecision, FontQuality, FontPitch)</h4>
<div class="markdown level1 summary"><p>Initialize a new <a class="xref" href="C1.Framework.Drawing.Gdi.FontBuilder.html">FontBuilder</a></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, int escapement, int width, int weight, bool italic, bool underline, bool strikeOut, int orientation, byte charSet, FontOutPrecision outPrecision, FontClipPrecision clipPrecision, FontQuality quality, FontPitch pitch)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, escapement As Integer, width As Integer, weight As Integer, italic As Boolean, underline As Boolean, strikeOut As Boolean, orientation As Integer, charSet As Byte, outPrecision As FontOutPrecision, clipPrecision As FontClipPrecision, quality As FontQuality, pitch As FontPitch)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">escapement</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">width</span></td>
      <td><p>Specifies the average width, in logical units, of characters in the font. If width 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>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">weight</span></td>
      <td><p>Specifies the weight of the font in the range 0 through 1000. For example, 400 is normal and 700 is bold.
If this value is zero, a default weight is used. The following values are defined for convenience.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">italic</span></td>
      <td><p>Specifies an italic font if set to <b>true</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">underline</span></td>
      <td><p>Specifies an underlined font if set to <b>true</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">strikeOut</span></td>
      <td><p>Specifies a strikeout font if set to <b>true</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">orientation</span></td>
      <td><p>Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a></td>
      <td><span class="parametername">charSet</span></td>
      <td><p>Specifies the character set.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontOutPrecision.html">FontOutPrecision</a></td>
      <td><span class="parametername">outPrecision</span></td>
      <td><p>Specifies the output precision. The output precision defines how closely the output must match
the requested font's height, width, character orientation, escapement, pitch, and font type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontClipPrecision.html">FontClipPrecision</a></td>
      <td><span class="parametername">clipPrecision</span></td>
      <td><p>Specifies the clipping precision. The clipping precision defines how to clip characters
that are partially outside the clipping region. It can be one or more of the following values.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontQuality.html">FontQuality</a></td>
      <td><span class="parametername">quality</span></td>
      <td><p>Specifies the output quality. The output quality defines how carefully the graphics device interface (GDI)
must attempt to match the logical-font attributes to those of an actual physical font.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontPitch.html">FontPitch</a></td>
      <td><span class="parametername">pitch</span></td>
      <td><p>Specifies the pitch of the font</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_System_String_System_Int32_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor(System.String,System.Int32)">FontBuilder(string, int)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, int height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, height As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, FontStyle)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, FontStyle fontStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, fontStyle As FontStyle)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> indicate the font style.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, int, FontStyle)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, int escapement, FontStyle fontStyle)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, escapement As Integer, fontStyle As FontStyle)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">escapement</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> indicate the font style.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, FontStyle, int)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, FontStyle fontStyle, int orientation)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, fontStyle As FontStyle, orientation As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> indicate the font style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">orientation</span></td>
      <td><p>Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, int, FontStyle, int)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, int escapement, FontStyle fontStyle, int orientation)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, escapement As Integer, fontStyle As FontStyle, orientation As Integer)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">escapement</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> indicate the font style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">orientation</span></td>
      <td><p>Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="C1_Framework_Drawing_Gdi_FontBuilder__ctor_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.#ctor*"></a>
<h4 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)">FontBuilder(string, FontFamily, int, int, FontStyle, int, FontPitch)</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontBuilder(string faceName, FontFamily family, int height, int escapement, FontStyle fontStyle, int orientation, FontPitch pitch)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(faceName As String, family As FontFamily, height As Integer, escapement As Integer, fontStyle As FontStyle, orientation As Integer, pitch As FontPitch)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">faceName</span></td>
      <td><p>A null-terminated string that specifies the typeface name of the font.
The length of this string must not exceed 32 characters, including the terminating null character.
The <b>EnumFontFamiliesEx</b> function can be used to enumerate the typeface names of all currently available fonts.
If <b>faceName</b> is an empty string, GDI uses the first font that matches the other specified attributes.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontFamily.html">FontFamily</a></td>
      <td><span class="parametername">family</span></td>
      <td><p>Specifies the family of the font</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">height</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">escapement</span></td>
      <td><p>Specifies 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><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a></td>
      <td><span class="parametername">fontStyle</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.fontstyle">FontStyle</a> indicate the font style.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">orientation</span></td>
      <td><p>Specifies the angle, in tenths of degrees, between each character's base line and the x-axis of the device.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.Framework.Drawing.Gdi.FontPitch.html">FontPitch</a></td>
      <td><span class="parametername">pitch</span></td>
      <td><p>Specifies the pitch of the font</p>
</td>
    </tr>
  </tbody>
</table>
</div>
