RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.SaveToStream Method

Saves the bitmap to a stream.

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

Use SaveToStream to write the bitmap image to the stream specified by the Stream parameter. For example, specify a TBlobStream object as the Stream parameter to save the bitmap image to a graphic field in a dataset. 

 

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