# GrapeCity.Documents.Word.EmbeddedFontCollection.Add

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Word_EmbeddedFontCollection_Add_" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Add*">Add Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Word_EmbeddedFontCollection_Add_" data-uid="GrapeCity.Documents.Word.EmbeddedFontCollection.Add*"></a>
<h4 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[])">Add(EmbeddedFontType, FontDataType, byte[])</h4>
<div class="markdown level1 summary"><p>Adds a new embedded font to this collection.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public EmbeddedFont Add(EmbeddedFontType type, FontDataType dataType, byte[] data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Function Add(type As EmbeddedFontType, dataType As FontDataType, data As Byte()) As EmbeddedFont</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="GrapeCity.Documents.Word.EmbeddedFontType.html">EmbeddedFontType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The type of the embedded font.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Documents.Word.FontDataType.html">FontDataType</a></td>
      <td><span class="parametername">dataType</span></td>
      <td><p>The embedded font data type.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.byte">byte</a>[]</td>
      <td><span class="parametername">data</span></td>
      <td><p>The embedded font binary data.</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.Word.EmbeddedFont.html">EmbeddedFont</a></td>
      <td><p>The newly created embedded font.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
