PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.5.2 Assembly / C1.C1Preview Namespace / EmbeddedFontCollection Class / Add Method / Add(EmbeddedFont) Method
The EmbeddedFont to add.

In This Topic
    Add(EmbeddedFont) Method
    In This Topic
    Adds the specified EmbeddedFont to the current collection. Throws an exception if the font is already present in the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal embeddedFont As EmbeddedFont _
    ) As Integer
    public int Add( 
       EmbeddedFont embeddedFont
    )

    Parameters

    embeddedFont
    The EmbeddedFont to add.

    Return Value

    The index of the newly added font in the collection.
    See Also