Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / FontInfoCollection Class / Add Method / Add(Font,Boolean) Method
The GrapeCity.Documents.Text.Font to add.
Whether to embed the specified font.

In This Topic
    Add(Font,Boolean) Method
    In This Topic
    Adds a new font into the collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal font As GrapeCity.Documents.Text.Font, _
       Optional ByVal embed As System.Boolean _
    ) As FontInfo
    public FontInfo Add( 
       GrapeCity.Documents.Text.Font font,
       System.bool embed
    )

    Parameters

    font
    The GrapeCity.Documents.Text.Font to add.
    embed
    Whether to embed the specified font.

    Return Value

    A newly created FontInfo if embed is false, otherwise it can be existing FontInfo that now contains the embedded font.
    See Also