RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TOleContainer.LoadFromStream Method

Loads an OLE object from the specified stream.

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

Call LoadFromStream to load an OLE object from a stream. If OldStreamFormat is true, LoadFromStream loads OLE objects saved by a TOleContainer object as well as OLE objects saved using the current format; if OldStreamFormat is false, LoadFromStream will not load OLE objects saved by the library. If there's already an OLE object in the container, it is destroyed and any changes the user made to it are discarded. 

 

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