ExpertPdf Html to Pdf Converter Library
Add Method (font, embedFont)
NamespacesExpertPdf.HtmlToPdf.PdfDocumentFontCollectionAdd(Font, Boolean)
ExpertPdf Html to Pdf Converter Library
Adds a system font to the fonts collection. If the font was already added the method returns the existing font. The embedFont property says if the added font will be embedded into the PDF document
Declaration Syntax
C#Visual BasicVisual C++
public PdfFont Add(
	Font font,
	bool embedFont
)
Public Function Add ( 
	font As Font,
	embedFont As Boolean
) As PdfFont
public:
PdfFont^ Add(
	Font^ font, 
	bool embedFont
)
Parameters
font (Font)
Font for adding.
embedFont (Boolean)
When true the font will be embedded in the PDF document.
Return Value
PdfFont
The font added to the collection.

Assembly: ExpertPdf.HtmlToPdf (Module: ExpertPdf.HtmlToPdf.dll) Version: 9.2.0.25824 (9.2.0.0)