Winnovative PDF Creator Library for .NET
AddFont Method (font, embedFont)
NamespacesWinnovative.PdfCreatorDocumentAddFont(Font, Boolean)
Winnovative PDF Creator Library for .NET
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.
Declaration Syntax
C#Visual BasicVisual 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
)
Parameters
font (Font)
Font for adding.
embedFont (Boolean)
When true the font will be embedded in the PDF document.
Return Value
The font added to the collection.

Assembly: Winnovative.PdfCreator (Module: Winnovative.PdfCreator) Version: 6.0.0.0 (6.0.0.0)