# GrapeCity.Documents.Text.IFontCollection.SelectByFontPath

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Text_IFontCollection_SelectByFontPath_" data-uid="GrapeCity.Documents.Text.IFontCollection.SelectByFontPath*">SelectByFontPath Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Text_IFontCollection_SelectByFontPath_" data-uid="GrapeCity.Documents.Text.IFontCollection.SelectByFontPath*"></a>
<h4 id="GrapeCity_Documents_Text_IFontCollection_SelectByFontPath_System_String_" data-uid="GrapeCity.Documents.Text.IFontCollection.SelectByFontPath(System.String)">SelectByFontPath(string)</h4>
<div class="markdown level1 summary"><p>Returns the list of fonts having the same specified font path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">List&lt;Font&gt; SelectByFontPath(string fontPath)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Function SelectByFontPath(fontPath As String) As List(Of 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.string">string</a></td>
      <td><span class="parametername">fontPath</span></td>
      <td></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="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</td>
      <td></td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Documents_Text_IFontCollection_SelectByFontPath_" data-uid="GrapeCity.Documents.Text.IFontCollection.SelectByFontPath*"></a>
<h4 id="GrapeCity_Documents_Text_IFontCollection_SelectByFontPath_System_String_System_Collections_Generic_List_GrapeCity_Documents_Text_Font__" data-uid="GrapeCity.Documents.Text.IFontCollection.SelectByFontPath(System.String,System.Collections.Generic.List{GrapeCity.Documents.Text.Font})">SelectByFontPath(string, List&lt;Font&gt;)</h4>
<div class="markdown level1 summary"><p>Collects the fonts having the same specified font path.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">void SelectByFontPath(string fontPath, List&lt;Font&gt; res)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Sub SelectByFontPath(fontPath As String, res As List(Of 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.string">string</a></td>
      <td><span class="parametername">fontPath</span></td>
      <td></td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="GrapeCity.Documents.Text.Font.html">Font</a>&gt;</td>
      <td><span class="parametername">res</span></td>
      <td></td>
    </tr>
  </tbody>
</table>
</div>
