Click or drag to resize
Pdf Library for .NET

PdfFontCollectionAdd Method (PdfStandardFont)

Adds a standard font to the pdf fonts collection.

Namespace:  SelectPdf
Assembly:  Select.Pdf (in Select.Pdf.dll) Version: 24.1
Syntax
public PdfFont Add(
	PdfStandardFont stdFont
)

Parameters

stdFont
Type: SelectPdfPdfStandardFont
The standard font family.

Return Value

Type: 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