DocumentAddFont(Font) Method

Adds a system font to the fonts collection. If the font was already added the method returns the existing font. By default the font is embedded in the PDF document in order to support Unicode texts.

Definition

Namespace: Winnovative
Assembly: WnvHtmlToPdf_NetCore (in WnvHtmlToPdf_NetCore.dll) Version: 18.0.0
C#
public PdfFont AddFont(
	Font font
)

Parameters

font  Font
The font to be added to the collection.

Return Value

PdfFont
The font added to the collection.

See Also