# C1.Framework.Drawing.Gdi.FontBuilder.Height

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Drawing_Gdi_FontBuilder_Height_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Height*">Height Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Drawing_Gdi_FontBuilder_Height_" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Height*"></a>
<h4 id="C1_Framework_Drawing_Gdi_FontBuilder_Height" data-uid="C1.Framework.Drawing.Gdi.FontBuilder.Height">Height</h4>
<div 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>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public int Height { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property Height As Integer</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><p>An <b>int</b> indicate the height</p>
<p>
  if <code>value</code> larger than zero, the font mapper transforms this value into device units and matches it
  against the cell height of the available fonts.
</p>
<p>
  if <code>value</code> equal zero, the font mapper uses a default height value when it searches for a match.
</p>
<p>
  if <code>value</code> less than zero, the font mapper transforms this value into device units and matches
  its absolute value against the character height of the available fonts.
</p>
</td>
    </tr>
  </tbody>
</table>
</div>
