# GrapeCity.ActiveReports.Viewer.Win.DefaultFontFactory

## Content

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



  <h1 id="GrapeCity_ActiveReports_Viewer_Win_DefaultFontFactory" data-uid="GrapeCity.ActiveReports.Viewer.Win.DefaultFontFactory" class="text-break">DefaultFontFactory Class
</h1>
  <div class="markdown level0 summary"><p>Specify default font for entire WinForms application.</p>
<p>Should be used instead of WinForms <code>GrapeCity.ActiveReports.Viewer.Win.Viewer.Font</code>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">DefaultFontFactory</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.html">GrapeCity.ActiveReports.Viewer.Win</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Win.dll</h6>
  <h5 id="GrapeCity_ActiveReports_Viewer_Win_DefaultFontFactory_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class DefaultFontFactory</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_Viewer_Win_DefaultFontFactory_SetApplicationDefaultFont_System_Func_System_Single_System_Drawing_FontStyle_System_Drawing_Font__" data-uid="GrapeCity.ActiveReports.Viewer.Win.DefaultFontFactory.SetApplicationDefaultFont(System.Func{System.Single,System.Drawing.FontStyle,System.Drawing.Font})">
          <a class="xref" href="GrapeCity.ActiveReports.Viewer.Win.DefaultFontFactory.SetApplicationDefaultFont.html#GrapeCity_ActiveReports_Viewer_Win_DefaultFontFactory_SetApplicationDefaultFont_System_Func_System_Single_System_Drawing_FontStyle_System_Drawing_Font__">SetApplicationDefaultFont(Func&lt;float, FontStyle, Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets a custom font factory for creating default WinForms fonts.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
