RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.LoadFromStream Method

Loads the bitmap from a stream into the bitmap object.

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

Use LoadFromStream to load the bitmap image from a stream. The Stream parameter specifies the stream from which to read the bitmap image. For example, use LoadFromStream to load a bitmap image from a BLOB stream that reads from a graphic field in a dataset. 

 

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