CreateFromStream(Stream: IIOStream);
Stream. Stream.
The CreateFromStream constructor creates a font from the stream.
Function GetFontFromStream(FontStream: IIOStream): IGxFont;
Var
OutFont: IGxFont;
Begin
If FontStream.Size <> 0 Then
OutFont := New GxFont.CreateFromStream(FontStream);
Return OutFont;
Else
Return Null;
End If;
End Function GetFontFromStream;
The specified procedure returns the font loaded from the stream.
See also: