# C1.Util.Font.GetBuiltIn

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Util_Font_GetBuiltIn_" data-uid="C1.Util.Font.GetBuiltIn*">GetBuiltIn Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Util_Font_GetBuiltIn_" data-uid="C1.Util.Font.GetBuiltIn*"></a>
<h4 id="C1_Util_Font_GetBuiltIn_System_String_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.Util.Font.GetBuiltIn(System.String,System.Boolean,System.Boolean,System.Boolean)">GetBuiltIn(string, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Gets build-in font by font name and attributes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static BuildInFont GetBuiltIn(string fontName, bool sansSerif = false, bool fixedPitch = false, bool symbol = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function GetBuiltIn(fontName As String, Optional sansSerif As Boolean = False, Optional fixedPitch As Boolean = False, Optional symbol As Boolean = False) As BuildInFont</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">fontName</span></td>
      <td><p>The font name or family.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">sansSerif</span></td>
      <td><p>If <b>true</b>, that the sans-serif font, default <b>false</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">fixedPitch</span></td>
      <td><p>If <b>true</b>, that the fixed-pitch font, default <b>false</b>.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">symbol</span></td>
      <td><p>If <b>true</b>, that the symbol font, default <b>false</b>.</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="C1.Util.BuildInFont.html">BuildInFont</a></td>
      <td><p>The build-in font value, default <a class="xref" href="C1.Util.BuildInFont.html#C1_Util_BuildInFont_Helvetica">Helvetica</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
