FontSubstitutionMapAdd Method (String, Stream, FontStyleEmulation)
Add a new entry to the map.

Namespace:  TallComponents.PDF.Rasterizer.Configuration
Assembly:  TallComponents.PDF.Rasterizer (in TallComponents.PDF.Rasterizer.dll) Version: 3.0.158.0
Syntax
public void Add(
	string fontName,
	Stream stream,
	FontStyleEmulation style
)

Parameters

fontName
Type: SystemString
The name of the font to map.
stream
Type: System.IOStream
The stream that holds the font program.
style
Type: TallComponents.PDF.Rasterizer.ConfigurationFontStyleEmulation
The font style to emulate.
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.
See Also