Adds a system font to the fonts collection. If the font was already added the method returns the existing font. By default the font is embedded in the PDF document in order to support Unicode texts.

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

Syntax

C#
public PdfFont AddFont(
	Font font
)
Visual Basic
Public Function AddFont ( 
	font As Font
) As PdfFont
Visual C++
public:
PdfFont^ AddFont(
	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