EVO Excel to PDF Converter

FontCollectionAdd Method (String, Single, FontStyle)

EVO Excel to PDF Converter Documentation
Adds a system font to the fonts collection. The font is created from the specified file with the specified style. If the font was already added the method returns the existing font.

Namespace:  EvoExcelToPdf
Assembly:  evoexceltopdf (in evoexceltopdf.dll) Version: 10.0.0.0
Syntax

public PdfFont Add(
	string fontFilename,
	float fontSizePoints,
	FontStyle fontStyle
)

Parameters

fontFilename
Type: SystemString
The file name of the font to be added.
fontSizePoints
Type: SystemSingle
The font size in points.
fontStyle
Type: System.DrawingFontStyle
The style of the font to be added.

Return Value

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

Reference