# GrapeCity.ActiveReports.Drawing.ITextMetricsProvider

## Content

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



  <h1 id="GrapeCity_ActiveReports_Drawing_ITextMetricsProvider" data-uid="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider" class="text-break">ITextMetricsProvider Interface
</h1>
  <div class="markdown level0 summary"><p>Encapsulates string measurements and related functionality.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Drawing.html">GrapeCity.ActiveReports.Drawing</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Core.Rendering.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ITextMetricsProvider</code></pre>
  </div>
  <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_Drawing_ITextMetricsProvider_GetFontFamily_System_String_" data-uid="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.GetFontFamily(System.String)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.GetFontFamily.html#GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GetFontFamily_System_String_">GetFontFamily(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets font family for generic fonts, check if specified font installed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GetFontMetrics_GrapeCity_ActiveReports_Drawing_FontInfo_" data-uid="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.GetFontMetrics(GrapeCity.ActiveReports.Drawing.FontInfo)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.GetFontMetrics.html#GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GetFontMetrics_GrapeCity_ActiveReports_Drawing_FontInfo_">GetFontMetrics(FontInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets line spacing in twips.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_MeasureString_GrapeCity_ActiveReports_Drawing_FontInfo_System_String_GrapeCity_ActiveReports_Drawing_StringFormatEx_System_Single_System_Single_" data-uid="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.MeasureString(GrapeCity.ActiveReports.Drawing.FontInfo,System.String,GrapeCity.ActiveReports.Drawing.StringFormatEx,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.ActiveReports.Drawing.ITextMetricsProvider.MeasureString.html#GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_MeasureString_GrapeCity_ActiveReports_Drawing_FontInfo_System_String_GrapeCity_ActiveReports_Drawing_StringFormatEx_System_Single_System_Single_">MeasureString(FontInfo, string, StringFormatEx, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Measures string content based on currently selected font, device capabilities, string format.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="extensionmethods">Extension Methods</h3>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.TextMetricsProviderExtensions.MeasureString.html#GrapeCity_ActiveReports_Drawing_TextMetricsProviderExtensions_MeasureString_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Drawing_FontInfo_System_String_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IStyle_GrapeCity_ActiveReports_Drawing_StringFormatEx_System_Single_System_Single_System_Globalization_CultureInfo_">TextMetricsProviderExtensions.MeasureString(ITextMetricsProvider, FontInfo, string, IStyle, StringFormatEx, float, float, CultureInfo)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Drawing.TextMetricsProviderExtensions.MeasureString.html#GrapeCity_ActiveReports_Drawing_TextMetricsProviderExtensions_MeasureString_GrapeCity_ActiveReports_Drawing_ITextMetricsProvider_GrapeCity_ActiveReports_Drawing_FontInfo_System_String_GrapeCity_ActiveReports_Extensibility_Rendering_Components_IStyle_System_Single_System_Single_System_Globalization_CultureInfo_">TextMetricsProviderExtensions.MeasureString(ITextMetricsProvider, FontInfo, string, IStyle, float, float, CultureInfo)</a>
  </div>
  <div>
      <a class="xref" href="GrapeCity.ActiveReports.Core.Rendering.Tools.ObjectExtensions.IsNumber.html#GrapeCity_ActiveReports_Core_Rendering_Tools_ObjectExtensions_IsNumber_System_Object_">ObjectExtensions.IsNumber(object)</a>
  </div>

</div>
