# GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.SetFontCache

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Windows_GcD2DBitmap_SetFontCache_" data-uid="GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.SetFontCache*">SetFontCache Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Windows_GcD2DBitmap_SetFontCache_" data-uid="GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.SetFontCache*"></a>
<h4 id="GrapeCity_Documents_Imaging_Windows_GcD2DBitmap_SetFontCache_GrapeCity_Documents_Imaging_Windows_FontCache_" data-uid="GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.SetFontCache(GrapeCity.Documents.Imaging.Windows.FontCache)">SetFontCache(FontCache)</h4>
<div class="markdown level1 summary"><p>Assigns a shared instance of the <span class="xref">GrapeCity.Documents.Imaging.Windows.GcD2DBitmap.FontCache</span> class
to be used by this bitmap.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void SetFontCache(FontCache fontCache)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub SetFontCache(fontCache As FontCache)</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.Documents.Imaging.Windows.FontCache.html">FontCache</a></td>
      <td><span class="parametername">fontCache</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
