RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPicture.LoadFromStream Method

Reads the picture from a Stream.

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

Use LoadFromStream to read a picture from a TStream object. The TGraphic class created is determined by the type of data contained in the stream. 

The data in the stream should be previously written by a call to the SaveToStream method of another TPicture or of a TGraphic descendant. 

 

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