FontCollectionAdd(String) Method

Adds a system font to the fonts collection. The font is created from the specified file. If the font was already added the method returns the existing font.

Definition

Namespace: Winnovative.ExcelToPdf
Assembly: WnvExcelToPdf_NetCore (in WnvExcelToPdf_NetCore.dll) Version: 12.0.0
C#
public PdfFont Add(
	string fontFilename
)

Parameters

fontFilename  String
The file name of the font to be added.

Return Value

PdfFont
The font added to the collection.

See Also