Class GdiPrivateFontCollection
Installs a collection of private fonts on the system and uninstalls them when disposed.
Inheritance
Inherited Members
Namespace: Telerik.Pdf.Gdi
Assembly: TelerikData.dll
Syntax
public class GdiPrivateFontCollection
Constructors
GdiPrivateFontCollection()
Declaration
public GdiPrivateFontCollection()
Methods
AddFontFile(FileInfo)
Adds fontFile to this private font collection.
Declaration
public void AddFontFile(FileInfo fontFile)
Parameters
System.IO.FileInfo
fontFile
Absolute path to a TrueType font or collection. |
Exceptions
System.IO.FileNotFoundException
If fontFile does not exist. |
System.ArgumentException
If fontFile has already been added. |
System.ArgumentException
If fontFile cannot be added to the system font collection. |
AddFontFile(String)
Adds filename to this private font collection.
Declaration
public void AddFontFile(string filename)
Parameters
System.String
filename
Absolute path to a TrueType font or collection. |
Exceptions
System.ArgumentNullException
If filename is null. |
System.ArgumentException
If filename is the empty string. |