[]
Adds a font with a specified primary name to the collection.
public FontInfo Add(string name)
Public Function Add(name As String) As FontInfo
Type | Name | Description |
---|---|---|
string | name | The primary name of the font to add. |
Adds a new font into the collection.
public FontInfo Add(Font font, bool embed = false)
Public Function Add(font As Font, Optional embed As Boolean = False) As FontInfo
Type | Name | Description |
---|---|---|
Font | font | The GrapeCity.Documents.Text.Font to add. |
bool | embed | Whether to embed the specified font. |