# C1.Win.Themes.C1Theme.GetMergedFont

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Win_Themes_C1Theme_GetMergedFont_" data-uid="C1.Win.Themes.C1Theme.GetMergedFont*">GetMergedFont Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Win_Themes_C1Theme_GetMergedFont_" data-uid="C1.Win.Themes.C1Theme.GetMergedFont*"></a>
<h4 id="C1_Win_Themes_C1Theme_GetMergedFont_System_String_System_Drawing_Font_" data-uid="C1.Win.Themes.C1Theme.GetMergedFont(System.String,System.Drawing.Font)">GetMergedFont(string, Font)</h4>
<div class="markdown level1 summary"><p>Gets a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a> obtained by the merging of the default
font and font specified by a path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Font GetMergedFont(string path, Font defaultValue)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetMergedFont(path As String, defaultValue As Font) As Font</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="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">path</span></td>
      <td><p>The target path.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.font">Font</a></td>
      <td><span class="parametername">defaultValue</span></td>
      <td><p>Specified font.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</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.drawing.font">Font</a></td>
      <td><p>The font obtained by the merging of the <see paramref="defaultValue"></see> and font specified by <code class="paramref">path</code>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
