# C1.Framework.Drawing.Gdi.FontMetric

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Drawing_Gdi_FontMetric" data-uid="C1.Framework.Drawing.Gdi.FontMetric" class="text-break">FontMetric Struct
</h1>
  <div class="markdown level0 summary"><p>Represents the basic information about a physical font.</p>
</div>
  <div class="markdown level0 conceptual"></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_FontMetric_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct FontMetric</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure FontMetric</code></pre>
  </div>
  <h3 id="fields">Fields
</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_FontMetric_Ascent" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Ascent">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Ascent.html">Ascent</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the ascent (units above the base line) of characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_AveCharWidth" data-uid="C1.Framework.Drawing.Gdi.FontMetric.AveCharWidth">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.AveCharWidth.html">AveCharWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the average width of characters in the font
(generally defined as the width of the letter x). This value
does not include the overhang required for bold or italic characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_BreakChar" data-uid="C1.Framework.Drawing.Gdi.FontMetric.BreakChar">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.BreakChar.html">BreakChar</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the value of the character that will be used to
define word breaks for text justification.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_CharSet" data-uid="C1.Framework.Drawing.Gdi.FontMetric.CharSet">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.CharSet.html">CharSet</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the character set of the font. The character set
can be one of the following values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_DefaultChar" data-uid="C1.Framework.Drawing.Gdi.FontMetric.DefaultChar">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.DefaultChar.html">DefaultChar</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the value of the character to be substituted for
characters not in the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Descent" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Descent">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Descent.html">Descent</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the descent (units below the base line) of characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_DigitizedAspectX" data-uid="C1.Framework.Drawing.Gdi.FontMetric.DigitizedAspectX">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.DigitizedAspectX.html">DigitizedAspectX</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the horizontal aspect of the device for which the font was designed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_DigitizedAspectY" data-uid="C1.Framework.Drawing.Gdi.FontMetric.DigitizedAspectY">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.DigitizedAspectY.html">DigitizedAspectY</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the vertical aspect of the device for which the font was designed.
The ratio of the tmDigitizedAspectX and tmDigitizedAspectY members is
the aspect ratio of the device for which the font was designed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_ExternalLeading" data-uid="C1.Framework.Drawing.Gdi.FontMetric.ExternalLeading">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.ExternalLeading.html">ExternalLeading</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the amount of extra leading (space) that the application
adds between rows. Since this area is outside the font, it contains
no marks and is not altered by text output calls in either OPAQUE or
TRANSPARENT mode. The designer may set this member to zero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_FirstChar" data-uid="C1.Framework.Drawing.Gdi.FontMetric.FirstChar">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.FirstChar.html">FirstChar</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the value of the first character defined in the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Height" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Height">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Height.html">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the height (ascent + descent) of characters.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_InternalLeading" data-uid="C1.Framework.Drawing.Gdi.FontMetric.InternalLeading">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.InternalLeading.html">InternalLeading</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the amount of leading (space) inside the bounds set by
the tmHeight member. Accent marks and other diacritical characters
may occur in this area. The designer may set this member to zero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Italic" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Italic">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Italic.html">Italic</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies an italic font if it is nonzero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_LastChar" data-uid="C1.Framework.Drawing.Gdi.FontMetric.LastChar">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.LastChar.html">LastChar</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the value of the last character defined in the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_MaxCharWidth" data-uid="C1.Framework.Drawing.Gdi.FontMetric.MaxCharWidth">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.MaxCharWidth.html">MaxCharWidth</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the width of the widest character in the font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Overhang" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Overhang">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Overhang.html">Overhang</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the extra width per string that may be added to
some synthesized fonts. When synthesizing some attributes,
such as bold or italic, graphics device interface (GDI) or
a device may have to add width to a string on both a
per-character and per-string basis.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_PitchAndFamily" data-uid="C1.Framework.Drawing.Gdi.FontMetric.PitchAndFamily">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.PitchAndFamily.html">PitchAndFamily</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies information about the pitch, the technology,
and the family of a physical font.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_StruckOut" data-uid="C1.Framework.Drawing.Gdi.FontMetric.StruckOut">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.StruckOut.html">StruckOut</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies a strikeout font if it is nonzero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Underlined" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Underlined">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Underlined.html">Underlined</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies an underlined font if it is nonzero.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Drawing_Gdi_FontMetric_Weight" data-uid="C1.Framework.Drawing.Gdi.FontMetric.Weight">
          <a class="xref" href="C1.Framework.Drawing.Gdi.FontMetric.Weight.html">Weight</a>
        </td>
        <td class="markdown level1 summary"><p>Specifies the weight of the font.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
