RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIcon.SaveToStream Method

Saves the icon to a stream.

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

Use SaveToStream to write the icon image to a stream. Specify the Stream parameter as the stream object that receives the memory image of the icon. To write the icon to a .ico file, use the SaveToFile method. To write the icon to the Clipboard, use the SaveToClipboardFormat method. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!