[]
Adds a font with a specified primary name to the collection.
public FontInfo Add(string name)
| Type | Name | Description |
|---|---|---|
| string | name | The primary name of the font to add. |
| Type | Description |
|---|---|
| FontInfo | The newly created FontInfo instance. |
Adds a new font into the collection.
public FontInfo Add(Font font, bool embed = false)
| Type | Name | Description |
|---|---|---|
| Font | font | The GrapeCity.Documents.Text.Font to add. |
| bool | embed | Whether to embed the specified font. |
| Type | Description |
|---|---|
| FontInfo | A newly created FontInfo if |