Get a TrueType font from a stream.

Namespace: TallComponents.PDF.Fonts
Assembly: TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 3.0.69.1

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

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

See Also