Adds a system font to the fonts collection. If the font was already added
the method returns the existing font. The embedFont property indicates if the added font
will be embedded into the PDF document.

C# | Visual Basic | Visual C++ |
public PdfFont AddFont( Font font, bool embedFont )
Public Function AddFont ( font As Font, embedFont As Boolean ) As PdfFont
public: PdfFont^ AddFont( Font^ font, bool embedFont )

PdfFont
The font added to the collection.
The font added to the collection.
Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)