Installs a collection of private fonts on the system and uninstalls them when disposed.
Definition
Namespace:Telerik.Pdf.Gdi
Assembly:Telerik.Web.UI.dll
Syntax:
C#
public class GdiPrivateFontCollection
Inheritance: objectGdiPrivateFontCollection
Inherited Members
Constructors
C#
public GdiPrivateFontCollection()
Methods
Adds fontFile to this private font collection.
C#
public void AddFontFile(FileInfo fontFile)
Absolute path to a TrueType font or collection.
Exceptions: FileNotFoundExceptionIf fontFile does not exist.
ArgumentExceptionIf fontFile has already been added.
ArgumentExceptionIf fontFile cannot be added to the system font collection.
Adds filename to this private font collection.
C#
public void AddFontFile(string filename)
Absolute path to a TrueType font or collection.
Exceptions: ArgumentNullExceptionIf filename is null.
ArgumentExceptionIf filename is the empty string.