Adds the specified EmbeddedFont to the current collection. Throws an exception if the font is already present in the collection.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public int Add(
	EmbeddedFont embeddedFont
)
Visual Basic
Public Function Add ( _
	embeddedFont As EmbeddedFont _
) As Integer

Parameters

embeddedFont
Type: C1.C1Preview..::..EmbeddedFont
The EmbeddedFont to add.

Return Value

The index of the newly added font in the collection.

See Also