Apitron.PDF.Rasterizer library for .NET
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.0)
Registers the font in library's font cache.
Namespace: Apitron.PDF.Rasterizer.Configuration
Assembly: Apitron.PDF.Rasterizer (in Apitron.PDF.Rasterizer.dll) Version: 3.0.154.0 (3.0.154.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