RAD Studio VCL Reference
|
Saves the OLE object to the specified stream.
procedure SaveToStream(Stream: TStream);
__fastcall SaveToStream(TStream Stream);
Call SaveToStream to save the OLE object. If CopyOnSave is true, SaveToStream first creates a temporary OLE object that compresses redundant data, reducing the information that must be saved. If OldStreamFormat is true, SaveToStream writes the object in a format that can be read by a TOleContainer component.
An OLE object must already be loaded in the container before calling SaveToStream. Otherwise, SaveToStream raises an exception.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|