# GrapeCity.Documents.Text.FontCollection.ChooseFallbackFont

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_FontCollection_ChooseFallbackFont_" data-uid="GrapeCity.Documents.Text.FontCollection.ChooseFallbackFont*">ChooseFallbackFont Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_FontCollection_ChooseFallbackFont_" data-uid="GrapeCity.Documents.Text.FontCollection.ChooseFallbackFont*"></a>
<h4 id="GrapeCity_Documents_Text_FontCollection_ChooseFallbackFont_System_Int32_GrapeCity_Documents_Text_Font_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="GrapeCity.Documents.Text.FontCollection.ChooseFallbackFont(System.Int32,GrapeCity.Documents.Text.Font,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">ChooseFallbackFont(int, Font, bool, bool, bool, bool, bool)</h4>
<div class="markdown level1 summary"><p>Searches for a fallback font containing the given code point that looks similar to the source font.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public Font ChooseFallbackFont(int codePoint, Font baseFont, bool bold, bool italic, bool vertical = false, bool embeddable = false, bool allowEudc = false)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function ChooseFallbackFont(codePoint As Integer, baseFont As Font, bold As Boolean, italic As Boolean, Optional vertical As Boolean = False, Optional embeddable As Boolean = False, Optional allowEudc As Boolean = False) 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.int32">int</a></td>
      <td><span class="parametername">codePoint</span></td>
      <td><p>The code point (in UTF-32 format) missing in the source font.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a></td>
      <td><span class="parametername">baseFont</span></td>
      <td><p>The source font to be replaced by a fallback font.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">bold</span></td>
      <td><p>Indicates if the font should be bold.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">italic</span></td>
      <td><p>Indicates if the font should contain italic characters.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">vertical</span></td>
      <td><p>Indicates if the font should be vertical.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">embeddable</span></td>
      <td><p>Indicates if the searched font should support embedding.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">allowEudc</span></td>
      <td><p>Indicates if the linked EUDC fonts can be searched as well.</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="GrapeCity.Documents.Text.Font.html">Font</a></td>
      <td><p>Fallback <a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a> or null.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="implements">Implements</h5>
    <div><a class="xref" href="GrapeCity.Documents.Text.IFontCollection.ChooseFallbackFont.html#GrapeCity_Documents_Text_IFontCollection_ChooseFallbackFont_System_Int32_GrapeCity_Documents_Text_Font_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_">IFontCollection.ChooseFallbackFont(int, Font, bool, bool, bool, bool, bool)</a></div>
</div>
