# GrapeCity.Documents.Imaging.Windows.FontCache.GetFontFace

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Imaging_Windows_FontCache_GetFontFace_" data-uid="GrapeCity.Documents.Imaging.Windows.FontCache.GetFontFace*">GetFontFace Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Imaging_Windows_FontCache_GetFontFace_" data-uid="GrapeCity.Documents.Imaging.Windows.FontCache.GetFontFace*"></a>
<h4 id="GrapeCity_Documents_Imaging_Windows_FontCache_GetFontFace_GrapeCity_Documents_Text_Font_" data-uid="GrapeCity.Documents.Imaging.Windows.FontCache.GetFontFace(GrapeCity.Documents.Text.Font)">GetFontFace(Font)</h4>
<div class="markdown level1 summary"><p>Gets an instance of the <span class="xref">GrapeCity.Documents.DX.DirectWrite.FontFace</span> for a given <a class="xref" href="../DS.Documents.Imaging/GrapeCity.Documents.Text.Font.html">Font</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public FontFace GetFontFace(Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function GetFontFace(font As Font) As FontFace</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="../DS.Documents.Imaging/GrapeCity.Documents.Text.Font.html">Font</a></td>
      <td><span class="parametername">font</span></td>
      <td><p>The source <a class="xref" href="../DS.Documents.Imaging/GrapeCity.Documents.Text.Font.html">Font</a> object.</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><span class="xref">FontFace</span></td>
      <td><p>The resulting <span class="xref">GrapeCity.Documents.DX.DirectWrite.FontFace</span>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
