RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPicture.SaveToStream Method

Saves the picture to a stream.

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

Use SaveToStream to save a picture to the TStream object specified by the Stream parameter.  

The saved picture can be loaded to another TPicture or to an appropriate TGraphic descendant by calling its LoadFromStream method. 

 

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