Get a TrueType font from a stream.

Namespace: TallComponents.PDF.Layout.Fonts
Assembly: TallComponents.PDF.Layout (in TallComponents.PDF.Layout.dll) Version: 3.0.63.0

Syntax

C#
public static Font TrueType(
	Stream stream
)
Visual Basic
Public Shared Function TrueType ( _
	stream As Stream _
) As Font

Parameters

stream
Type: System.IO..::..Stream
Stream containing TrueType font data.

Return Value

The created font.

Remarks

The stream may be closed when the constructor completes. It is the responsibility of the client to close the stream.

Note that this functionality is available in the Professional edition only.

Remarks

To specifiy a TrueType font in XML use the font attribute and assign a value equal to the TrueType path.

See Also