Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Registers the font in library's font cache.
Namespace: Apitron.PDF.Kit.Configuration
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
Parameters
- fontDataStream
- Type: System.IOStream
The font data. Only TrueType(.ttf) and TrueType collection (.ttc) fonts are accepted.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If fontDataStream is null. |
FormatException | If there was an error during font registration. It means that the fontDataStream doesn't contain a valid font data. |
See Also