Click or drag to resize

DocumentAddFont Method (StdFontBaseFamily)

Adds a standard font to the collection. If the font was already added the method returns the existing font.

Namespace:  ExpertPdf.HtmlToPdf.PdfDocument
Assembly:  ephtmltopdf (in ephtmltopdf.dll) Version: 17.0.0
Syntax
public PdfFont AddFont(
	StdFontBaseFamily stdFont
)

Parameters

stdFont
Type: ExpertPdf.HtmlToPdf.PdfDocumentStdFontBaseFamily
The standard font family.

Return Value

Type: PdfFont
The font added to the collection.
See Also