Adds a PDF 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(
	PdfFont font
)
Visual Basic
Public Function Add ( 
	font As PdfFont
) As PdfFont
Visual C++
public:
PdfFont^ Add(
	PdfFont^ font
)

Parameters

font
Type: EvoPdf..::..PdfFont
Font object to add to the collection.

Return Value

Type: PdfFont
Added to the collection font.

See Also