PrintDocument for WinForms | ComponentOne
C1.PrintDocument.4.8 Assembly / C1.C1Preview Namespace / C1PrintDocument Class / EmbeddedFonts Property

In This Topic
    EmbeddedFonts Property (C1PrintDocument)
    In This Topic
    Gets the collection of fonts embedded in the current document.

    If FontHandling property on the document has been set to FontHandling.EmbedFonts or FontHandling.EmbedActualFonts, this collection is populated automatically when the document generates.

    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 EmbeddedFont.AddGlyphs method or any of its overloads.

    Syntax
    'Declaration
     
    Public ReadOnly Property EmbeddedFonts As EmbeddedFontCollection
    public EmbeddedFontCollection EmbeddedFonts {get;}
    See Also