Click or drag to resize
Pdf Library for .NET

PdfDocumentAddFont(PdfSystemFont, Boolean) Method

Adds a system font to the pdf document.

Namespace: SelectPdf.Universal
Assembly: SelectPdf.HtmlToPdf.Universal (in SelectPdf.HtmlToPdf.Universal.dll) Version: 26.4
Syntax
public PdfFont AddFont(
	PdfSystemFont font,
	bool embedFont
)

Parameters

font  PdfSystemFont
The system font descriptor to add.
embedFont  Boolean
A flag indicating if the font is embedded in the pdf document.

Return Value

PdfFont
The newly added font.
Remarks
This is a shortcut for Add(PdfSystemFont, Boolean).
See Also