# GrapeCity.ActiveReports.Export.FontNameResolver.-ctor

## Content

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



<h1 id="GrapeCity_ActiveReports_Export_FontNameResolver__ctor_" data-uid="GrapeCity.ActiveReports.Export.FontNameResolver.#ctor*">FontNameResolver Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Export_FontNameResolver__ctor_" data-uid="GrapeCity.ActiveReports.Export.FontNameResolver.#ctor*"></a>
<h4 id="GrapeCity_ActiveReports_Export_FontNameResolver__ctor_GrapeCity_ActiveReports_IFontResolver_GrapeCity_ActiveReports_Document_CompatibilityModes_" data-uid="GrapeCity.ActiveReports.Export.FontNameResolver.#ctor(GrapeCity.ActiveReports.IFontResolver,GrapeCity.ActiveReports.Document.CompatibilityModes)">FontNameResolver(IFontResolver, CompatibilityModes)</h4>
<div class="markdown level1 summary"><p>Initializes the font name resolver to resolve font names using IFontResolver</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontNameResolver(IFontResolver fontResolver, CompatibilityModes compatibilityMode)</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="GrapeCity.ActiveReports.IFontResolver.html">IFontResolver</a></td>
      <td><span class="parametername">fontResolver</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.ActiveReports.Document.CompatibilityModes.html">CompatibilityModes</a></td>
      <td><span class="parametername">compatibilityMode</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Export_FontNameResolver__ctor_GrapeCity_ActiveReports_IFontResolver_GrapeCity_ActiveReports_Document_CompatibilityModes__remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This constructor should not be used directly in application code. It is designed for internal operations
within the product libraries and may change or be removed in future versions without notice.</p>
</div>
</div>
