Adds a system font to the fonts collection. If the font was already added the method returns the existing font.

Namespace: EvoPdf
Assembly: evohtmltopdf (in evohtmltopdf.dll) Version: 4.12.0.0

Syntax

C#
public PdfFont Add(
	Font font
)
Visual Basic
Public Function Add ( 
	font As Font
) As PdfFont
Visual C++
public:
PdfFont^ Add(
	Font^ font
)

Parameters

font
Type: System.Drawing..::..Font
The font to be added to the collection.

Return Value

Type: PdfFont
The font added to the collection.

See Also