Click or drag to resize
Pdf Library for .NET

PdfFontCollectionAdd(String) Method

Adds a system font to the pdf fonts collection. The font is loaded from the specified file.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public PdfFont Add(
	string fontFilename
)

Parameters

fontFilename  String
 

Return Value

PdfFont
The pdf font added to the fonts collection.
Remarks
If the font was already added, the method returns the existing pdf font.
See Also