RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TJPEGImage.LoadFromStream Method

Loads the jpeg image from a stream.

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

Use LoadFromStream by specifying the stream from which the jpeg image is loaded as the value of Stream. LoadFromStream reads a jpeg data source from a stream and replaces the current image with it. 

 

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