Click or drag to resize
Pdf Library for .NET

PdfFontCollectionAdd(PdfStandardFont) Method

Adds a standard PDF font (one of the 14 built-in font names) to the collection and returns the PdfFont wrapper. Standard fonts are referenced by name, not embedded — rejected under PDF/A and PDF/X conformance.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public PdfFont Add(
	PdfStandardFont stdFont
)

Parameters

stdFont  PdfStandardFont
The standard font family to add (at the default 10pt size).

Return Value

PdfFont
The PdfFont wrapper for the added font.
See Also