Add a new entry to the map.
Namespace: TallComponents.PDF.Rasterizer.ConfigurationAssembly: TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.90.0
Syntax
| C# |
|---|
public void Add( string fontName, Stream stream ) |
| Visual Basic |
|---|
Public Sub Add ( _ fontName As String, _ stream As Stream _ ) |
Parameters
- fontName
- Type: System..::..String
The name of the font to map.
- stream
- Type: System.IO..::..Stream
The stream that holds the font program.
Remarks
The callee will cache the stream content so the stream does not have to be available after this call returns.
The caller is responsible for closing this stream after this call returns.