Click or drag to resize
PdfRendererOptionsAddPrivateFont Method
Adds fileInfo to the private font collection.

Namespace: Kettic.AspNet.Controls.Toolkit.Apoc.Render.Pdf
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
public void AddPrivateFont(
	FileInfo fileInfo
)

Parameters

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