# GrapeCity.Core.Theme.GetRenderFont

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Core_Theme_GetRenderFont_" data-uid="GrapeCity.Core.Theme.GetRenderFont*">GetRenderFont Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Core_Theme_GetRenderFont_" data-uid="GrapeCity.Core.Theme.GetRenderFont*"></a>
<h4 id="GrapeCity_Core_Theme_GetRenderFont_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Spreadsheet_StyleFormat__" data-uid="GrapeCity.Core.Theme.GetRenderFont(GrapeCity.Spreadsheet.IWorkbook,GrapeCity.Spreadsheet.StyleFormat@)">GetRenderFont(IWorkbook, ref StyleFormat)</h4>
<div class="markdown level1 summary"><p>Gets the display font from the special font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetRenderFont(IWorkbook workbook, ref StyleFormat styleFormat)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetRenderFont(workbook As IWorkbook, ByRef styleFormat As StyleFormat)</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.Spreadsheet.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td><p>The current workbook.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.StyleFormat.html">StyleFormat</a></td>
      <td><span class="parametername">styleFormat</span></td>
      <td><p>The style format which contains the raw font.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Core_Theme_GetRenderFont_" data-uid="GrapeCity.Core.Theme.GetRenderFont*"></a>
<h4 id="GrapeCity_Core_Theme_GetRenderFont_GrapeCity_Spreadsheet_IWorkbook_GrapeCity_Spreadsheet_Font__" data-uid="GrapeCity.Core.Theme.GetRenderFont(GrapeCity.Spreadsheet.IWorkbook,GrapeCity.Spreadsheet.Font@)">GetRenderFont(IWorkbook, ref Font)</h4>
<div class="markdown level1 summary"><p>Gets the display font from the special font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public void GetRenderFont(IWorkbook workbook, ref Font font)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub GetRenderFont(workbook As IWorkbook, ByRef 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="GrapeCity.Spreadsheet.IWorkbook.html">IWorkbook</a></td>
      <td><span class="parametername">workbook</span></td>
      <td><p>The current workbook.</p>
</td>
    </tr>
    <tr>
      <td><span class="xref">Font</span></td>
      <td><span class="parametername">font</span></td>
      <td><p>The raw font.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
