Vcl.Graphics.TIcon.SaveToStream
Delphi
procedure SaveToStream(Stream: TStream); override;
C++
virtual void __fastcall SaveToStream(System::Classes::TStream* Stream);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TIcon |
Description
Saves the icon to a 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.