RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIcon.LoadFromStream Method

Loads the icon from a stream.

Pascal
procedure LoadFromStream(Stream: TStream); override;
C++
virtual __fastcall LoadFromStream(TStream Stream);

Use LoadFromStream to read the icon image from a stream. Set the Stream parameter to a stream object that provides access to the memory image of the icon. To load the icon from a .ico file, use the LoadFromFile method. To load the icon from the Clipboard, use the LoadFromClipboardFormat method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!