# GrapeCity.Documents.Word.EmbeddedFontCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Word_EmbeddedFontCollection" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection" class="text-break">EmbeddedFontCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents a collection of <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFont.html">EmbeddedFont</a> objects.</p>
<p>
Elements in this collection are indexed by <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontType.html">EmbeddedFontType</a> (regular, bold, italic, bold italic).
</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"><span class="xref">EmbeddedFontCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <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.Word.EmbeddedFont.html">EmbeddedFont</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.Word.EmbeddedFont.html">EmbeddedFont</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.Word.html">GrapeCity.Documents.Word</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Word.dll</h6>
  <h5 id="GrapeCity_Documents_Word_EmbeddedFontCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class EmbeddedFontCollection : IReadOnlyCollection&lt;EmbeddedFont&gt;, IEnumerable&lt;EmbeddedFont&gt;, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class EmbeddedFontCollection
    Implements IReadOnlyCollection(Of EmbeddedFont), IEnumerable(Of EmbeddedFont), 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_Word_EmbeddedFontCollection_Count" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Count">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Count.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_Document" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Document">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Document.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Document">Document</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the document that contains this font.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_IsReadOnly" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.IsReadOnly">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.IsReadOnly.html#GrapeCity_Documents_Word_EmbeddedFontCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the containing document is in reading mode.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_Item_GrapeCity_Documents_Word_EmbeddedFontType_" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Item(GrapeCity.Documents.Word.EmbeddedFontType)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Item.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Item_GrapeCity_Documents_Word_EmbeddedFontType_">this[EmbeddedFontType]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an embedded font from this collection with a specified type.</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_Word_EmbeddedFontCollection_Add_GrapeCity_Documents_Word_EmbeddedFontType_GrapeCity_Documents_Word_FontDataType_System_Byte___" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Add(GrapeCity.Documents.Word.EmbeddedFontType,GrapeCity.Documents.Word.FontDataType,System.Byte[])">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Add.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Add_GrapeCity_Documents_Word_EmbeddedFontType_GrapeCity_Documents_Word_FontDataType_System_Byte___">Add(EmbeddedFontType, FontDataType, byte[])</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a new embedded font to this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_Clear" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Clear">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Clear.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_Contains_GrapeCity_Documents_Word_EmbeddedFontType_" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Contains(GrapeCity.Documents.Word.EmbeddedFontType)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Contains.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Contains_GrapeCity_Documents_Word_EmbeddedFontType_">Contains(EmbeddedFontType)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether this collection contains an embedded font with the specified type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_GetEnumerator" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.GetEnumerator">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.GetEnumerator.html#GrapeCity_Documents_Word_EmbeddedFontCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_Remove_GrapeCity_Documents_Word_EmbeddedFontType_" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Remove(GrapeCity.Documents.Word.EmbeddedFontType)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.Remove.html#GrapeCity_Documents_Word_EmbeddedFontCollection_Remove_GrapeCity_Documents_Word_EmbeddedFontType_">Remove(EmbeddedFontType)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the embedded font with a specified type from this collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Word_EmbeddedFontCollection_TryGetValue_GrapeCity_Documents_Word_EmbeddedFontType_GrapeCity_Documents_Word_EmbeddedFont__" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.TryGetValue(GrapeCity.Documents.Word.EmbeddedFontType,GrapeCity.Documents.Word.EmbeddedFont@)">
          <a class="xref" href="GrapeCity.Documents.Word.EmbeddedFontCollection.TryGetValue.html#GrapeCity_Documents_Word_EmbeddedFontCollection_TryGetValue_GrapeCity_Documents_Word_EmbeddedFontType_GrapeCity_Documents_Word_EmbeddedFont__">TryGetValue(EmbeddedFontType, out EmbeddedFont)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries to get an embedded font with a specified type from this collection.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
