CreateFromStream(Stream: IIOStream);
Stream. The stream, from which the icon is loaded.
The CreateFromStream constructor creates an icon from the stream.
Function GetIconFromStream(IconStream: IIOStream): IGxIcon;
Var
OutIcon: IGxIcon;
Begin
If IconStream.Size <> 0 Then
OutIcon := New GxIcon.CreateFromStream(IconStream);
Return OutIcon;
Else
Return Null;
End If;
End Function GetIconFromStream;
This function returns the icon obtained from the stream.
See also: