# GrapeCity.Documents.Text.SystemFontCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Text_SystemFontCollection" data-uid="GrapeCity.Documents.Text.SystemFontCollection" class="text-break">SystemFontCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of system fonts.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.objectmodel.readonlycollection-1">ReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div class="level2"><span class="xref">SystemFontCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1">IReadOnlyList</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlycollection-1">IReadOnlyCollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div><a class="xref" href="GrapeCity.Documents.Text.IFontCollection.html">IFontCollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1">IList</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.icollection-1">ICollection</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Text.html">GrapeCity.Documents.Text</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Text_SystemFontCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SystemFontCollection : ReadOnlyCollection&lt;Font&gt;, IList, ICollection, IReadOnlyList&lt;Font&gt;, IReadOnlyCollection&lt;Font&gt;, IFontCollection, IList&lt;Font&gt;, ICollection&lt;Font&gt;, IEnumerable&lt;Font&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SystemFontCollection
    Inherits ReadOnlyCollection(Of Font)
    Implements IList, ICollection, IReadOnlyList(Of Font), IReadOnlyCollection(Of Font), IFontCollection, IList(Of Font), ICollection(Of Font), IEnumerable(Of Font), IEnumerable</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_DefaultFont" data-uid="GrapeCity.Documents.Text.SystemFontCollection.DefaultFont">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.DefaultFont.html#GrapeCity_Documents_Text_SystemFontCollection_DefaultFont">DefaultFont</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the default system font.</p>
<p>
If no system fonts were found, this value will be null. You can test for
this condition at program startup, and assign a font to it if it is null.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_NoSystemFonts" data-uid="GrapeCity.Documents.Text.SystemFontCollection.NoSystemFonts">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.NoSystemFonts.html#GrapeCity_Documents_Text_SystemFontCollection_NoSystemFonts">NoSystemFonts</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the automatic loading of system fonts
is to be omitted in the static constructor of the <a class="xref" href="GrapeCity.Documents.Text.FontCollection.html">FontCollection</a> class.</p>
<p>
The default is false, and the <a class="xref" href="GrapeCity.Documents.Text.FontCollection.html">FontCollection</a>'s static constructor
loads all fonts installed in the system.
This is usually fast and does not consume significant resources,
but sometimes may cause problems (e.g. if an installed font file is corrupt).
In such cases set this property to true at program startup, before accessing
any members of the <a class="xref" href="GrapeCity.Documents.Text.FontCollection.html">FontCollection</a> class.
</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_AppendFallbackFontFamilies_System_String___" data-uid="GrapeCity.Documents.Text.SystemFontCollection.AppendFallbackFontFamilies(System.String[])">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.AppendFallbackFontFamilies.html#GrapeCity_Documents_Text_SystemFontCollection_AppendFallbackFontFamilies_System_String___">AppendFallbackFontFamilies(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Appends one or more font family names to the internal list of fallback font families.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_AppendFallbackFonts_GrapeCity_Documents_Text_Font___" data-uid="GrapeCity.Documents.Text.SystemFontCollection.AppendFallbackFonts(GrapeCity.Documents.Text.Font[])">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.AppendFallbackFonts.html#GrapeCity_Documents_Text_SystemFontCollection_AppendFallbackFonts_GrapeCity_Documents_Text_Font___">AppendFallbackFonts(params Font[])</a>
        </td>
        <td class="markdown level1 summary"><p>Appends one or more fonts to the internal fallback font list.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_ChooseFallbackFont_System_Int32_GrapeCity_Documents_Text_Font_System_Boolean_System_Boolean_System_Boolean_System_Boolean_System_Boolean_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.ChooseFallbackFont(System.Int32,GrapeCity.Documents.Text.Font,System.Boolean,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.ChooseFallbackFont.html#GrapeCity_Documents_Text_SystemFontCollection_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)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a fallback font containing the given code point that looks similar to the source font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_ClearFallbackFontFamilies" data-uid="GrapeCity.Documents.Text.SystemFontCollection.ClearFallbackFontFamilies">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.ClearFallbackFontFamilies.html#GrapeCity_Documents_Text_SystemFontCollection_ClearFallbackFontFamilies">ClearFallbackFontFamilies()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the internal list of fallback font families.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_ClearFallbackFonts" data-uid="GrapeCity.Documents.Text.SystemFontCollection.ClearFallbackFonts">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.ClearFallbackFonts.html#GrapeCity_Documents_Text_SystemFontCollection_ClearFallbackFonts">ClearFallbackFonts()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the internal list of fallback fonts.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_FindFamilyName_System_String_System_Boolean_System_Boolean_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.FindFamilyName(System.String,System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.FindFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_FindFamilyName_System_String_System_Boolean_System_Boolean_">FindFamilyName(string, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a font with the specified family name and style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_FindFamilyName_System_String___System_Boolean_System_Boolean_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.FindFamilyName(System.String[],System.Boolean,System.Boolean)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.FindFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_FindFamilyName_System_String___System_Boolean_System_Boolean_">FindFamilyName(string[], bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for a font from the set of allowable font family names and the specified style.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_FindFileName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.FindFileName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.FindFileName.html#GrapeCity_Documents_Text_SystemFontCollection_FindFileName_System_String_">FindFileName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the first font having the specified file name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_FindFontPath_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.FindFontPath(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.FindFontPath.html#GrapeCity_Documents_Text_SystemFontCollection_FindFontPath_System_String_">FindFontPath(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the first font having the specified font path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_FindFullName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.FindFullName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.FindFullName.html#GrapeCity_Documents_Text_SystemFontCollection_FindFullName_System_String_">FindFullName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the first font with specified full name.</p>
<p>
Full font name that reflects all family and relevant subfamily descriptors.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_GetFallbackFontFamilies" data-uid="GrapeCity.Documents.Text.SystemFontCollection.GetFallbackFontFamilies">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.GetFallbackFontFamilies.html#GrapeCity_Documents_Text_SystemFontCollection_GetFallbackFontFamilies">GetFallbackFontFamilies()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a snapshot of the internal list of fallback font families.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_GetFallbackFonts" data-uid="GrapeCity.Documents.Text.SystemFontCollection.GetFallbackFonts">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.GetFallbackFonts.html#GrapeCity_Documents_Text_SystemFontCollection_GetFallbackFonts">GetFallbackFonts()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a snapshot of the internal fallback font list.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_RemoveFallbackFontFamilies_System_String___" data-uid="GrapeCity.Documents.Text.SystemFontCollection.RemoveFallbackFontFamilies(System.String[])">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.RemoveFallbackFontFamilies.html#GrapeCity_Documents_Text_SystemFontCollection_RemoveFallbackFontFamilies_System_String___">RemoveFallbackFontFamilies(params string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Removes one or more font family names from the internal list of fallback font families.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_RemoveFallbackFonts_GrapeCity_Documents_Text_Font___" data-uid="GrapeCity.Documents.Text.SystemFontCollection.RemoveFallbackFonts(GrapeCity.Documents.Text.Font[])">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.RemoveFallbackFonts.html#GrapeCity_Documents_Text_SystemFontCollection_RemoveFallbackFonts_GrapeCity_Documents_Text_Font___">RemoveFallbackFonts(params Font[])</a>
        </td>
        <td class="markdown level1 summary"><p>Removes one or more fonts from the internal fallback font list.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFamilyName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFamilyName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFamilyName_System_String_">SelectByFamilyName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the list of fonts with the specified family name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFamilyName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFamilyName(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFamilyName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__">SelectByFamilyName(string, List&lt;Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Collects the fonts with the specified family name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFileName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFileName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFileName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFileName_System_String_">SelectByFileName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the list of fonts having the same specified file name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFileName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFileName(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFileName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFileName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__">SelectByFileName(string, List&lt;Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Collects the fonts having the same specified file name.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFontPath_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFontPath(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFontPath.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFontPath_System_String_">SelectByFontPath(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the list of fonts having the same specified font path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFontPath_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFontPath(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFontPath.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFontPath_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__">SelectByFontPath(string, List&lt;Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Collects the fonts having the same specified font path.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFullName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFullName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFullName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFullName_System_String_">SelectByFullName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the list of fonts with the specified full name.</p>
<p>
Full font name that reflects all family and relevant subfamily descriptors.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByFullName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByFullName(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByFullName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByFullName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__">SelectByFullName(string, List&lt;Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Collects the fonts with the specified full name.</p>
<p>
Full font name that reflects all family and relevant subfamily descriptors.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByTypographicFamilyName_System_String_" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByTypographicFamilyName(System.String)">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByTypographicFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByTypographicFamilyName_System_String_">SelectByTypographicFamilyName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the list of fonts with the specified typographic family name.</p>
<p>
The typographic family grouping doesn't impose any constraints on the number
of faces within it, in contrast with the 4-style family grouping.
</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Text_SystemFontCollection_SelectByTypographicFamilyName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.SystemFontCollection.SelectByTypographicFamilyName(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">
          <a class="xref" href="GrapeCity.Documents.Text.SystemFontCollection.SelectByTypographicFamilyName.html#GrapeCity_Documents_Text_SystemFontCollection_SelectByTypographicFamilyName_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__">SelectByTypographicFamilyName(string, List&lt;Font&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Collects the fonts with the specified typographic family name.</p>
<p>
The typographic family grouping doesn't impose any constraints on the number
of faces within it, in contrast with the 4-style family grouping.
</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
