# C1.C1Preview.C1PrintDocument.EmbeddedFonts

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_C1Preview_C1PrintDocument_EmbeddedFonts_" data-uid="C1.C1Preview.C1PrintDocument.EmbeddedFonts*">EmbeddedFonts Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_C1Preview_C1PrintDocument_EmbeddedFonts_" data-uid="C1.C1Preview.C1PrintDocument.EmbeddedFonts*"></a>
<h4 id="C1_C1Preview_C1PrintDocument_EmbeddedFonts" data-uid="C1.C1Preview.C1PrintDocument.EmbeddedFonts">EmbeddedFonts</h4>
<div class="markdown level1 summary"><p>Gets the collection of fonts embedded in the current document.</p>
<p>
If <a class="xref" href="C1.C1Preview.C1PrintDocument.FontHandling.html#C1_C1Preview_C1PrintDocument_FontHandling">FontHandling</a> property on the document
has been set to <a class="xref" href="C1.C1Preview.FontHandling.html#C1_C1Preview_FontHandling_EmbedFonts">EmbedFonts</a> or
<a class="xref" href="C1.C1Preview.FontHandling.html#C1_C1Preview_FontHandling_EmbedActualFonts">EmbedActualFonts</a>,
this collection is populated automatically when the document generates.
</p>
<p>
Otherwise, this collection is not populated automatically. But you can
add fonts to this collection in code, so that just the added fonts will be 
embedded in the document. Note that in that case you must also explicitly
specify the glyphs to include by calling the <a class="xref" href="C1.C1Preview.EmbeddedFont.AddGlyphs.html#C1_C1Preview_EmbeddedFont_AddGlyphs_System_String_">AddGlyphs(string)</a>
method or any of its overloads.
</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1TypeSerialization(C1TypeSerializationEnum.Content)]
[Browsable(false)]
[C1OpenXmlSerialization(&quot;embeddedfonts.xml&quot;)]
public EmbeddedFontCollection EmbeddedFonts { get; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1TypeSerialization(C1TypeSerializationEnum.Content)&gt;
&lt;Browsable(False)&gt;
&lt;C1OpenXmlSerialization(&quot;embeddedfonts.xml&quot;)&gt;
Public ReadOnly Property EmbeddedFonts As EmbeddedFontCollection</code></pre>
</div>
<h5 id="C1_C1Preview_C1PrintDocument_EmbeddedFonts_seealso">See Also</h5>
<div class="seealso">
    <div><a class="xref" href="C1.C1Preview.C1PrintDocument.DocumentFonts.html#C1_C1Preview_C1PrintDocument_DocumentFonts">DocumentFonts</a></div>
</div>
</div>
