PdfRendererOptionsAddPrivateFont Method |
Adds fileInfo to the private font collection.
Namespace: Kettic.AspNet.Controls.Toolkit.Apoc.Render.PdfAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic void AddPrivateFont(
FileInfo fileInfo
)
Public Sub AddPrivateFont (
fileInfo As FileInfo
)
public:
void AddPrivateFont(
FileInfo^ fileInfo
)
member AddPrivateFont :
fileInfo : FileInfo -> unit
Parameters
- fileInfo
- Type: System.IOFileInfo
Absolute path to a TrueType font or collection.
ExceptionsException | Condition |
---|
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