Click or drag to resize
Pdf Library for .NET

PdfDocumentAddFont(PdfStandardFont) Method

Adds a standard font to the pdf fonts collection.

Namespace: SelectPdf
Assembly: Select.HtmlToPdf (in Select.HtmlToPdf.dll) Version: 26.2
Syntax
public PdfFont AddFont(
	PdfStandardFont stdFont
)

Parameters

stdFont  PdfStandardFont
The standard font family.

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