GdiPrivateFontCollection.AddFontFile Method (FileInfo)
Click or drag to resize
GdiPrivateFontCollectionAddFontFile Method (FileInfo)
Adds fontFile to this private font collection.

Namespace: Telerik.Pdf.Gdi
Assembly: TelerikData (in TelerikData.dll) Version: 2018.2.619.40 (2018.2.619.40)
Syntax
public void AddFontFile(
	FileInfo fontFile
)

Parameters

fontFile
Type: System.IOFileInfo
Absolute path to a TrueType font or collection.
Exceptions
ExceptionCondition
FileNotFoundException If fontFile does not exist.
ArgumentException If fontFile has already been added.
ArgumentException If fontFile cannot be added to the system font collection.
See Also