New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

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 object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GdiPrivateFontCollection()

Methods

Adds fontFile to this private font collection.

C#
public void AddFontFile(FileInfo fontFile)
Parameters:fontFileFileInfo

Absolute path to a TrueType font or collection.

Exceptions: FileNotFoundException

If fontFile does not exist.

ArgumentException

If fontFile has already been added.

ArgumentException

If fontFile cannot be added to the system font collection.

Adds filename to this private font collection.

C#
public void AddFontFile(string filename)
Parameters:filenamestring

Absolute path to a TrueType font or collection.

Exceptions: ArgumentNullException

If filename is null.

ArgumentException

If filename is the empty string.