[]
Adds the specified EmbeddedFont to the current collection. Throws an exception if the font is already present in the collection.
public int Add(EmbeddedFont embeddedFont)
Public Function Add(embeddedFont As EmbeddedFont) As Integer
| Type | Name | Description |
|---|---|---|
| EmbeddedFont | embeddedFont | The EmbeddedFont to add. |
| Type | Description |
|---|---|
| int | The index of the newly added font in the collection. |
Builds an EmbeddedFont based on the specified font, and adds it to the current collection. Throws an exception if the font is already present in the collection.
public int Add(Font font)
Public Function Add(font As Font) As Integer
| Type | Name | Description |
|---|---|---|
| Font | font | The Font to add. |
| Type | Description |
|---|---|
| int | The index of the newly added font in the collection. |