TImageEnVect.SaveToStreamAll
Declaration
procedure SaveToStreamAll(Stream: TStream; imageCompression: TIOFileType);
Description
Saves all layers and vectorial objects in one single stream block. This is like consecutive calls to LayersSaveToXXX and SaveToFileIEV.
ImageCompression specifies how compress the background image and the layers (cannot be ioTIFF). If ImageCompression is -1, the image is saved using an internal format which preserves pixel format and alphachannel.
Result will be false if an unexpected error was encountered while saving (
Aborting will be true).
See Also
◼LoadFromFileAll
◼SaveToFileAll
◼LoadFromStreamAll
◼LoadFromFileIEV
◼SaveToFileIEV
◼LoadFromStreamIEV
◼SaveToStreamIEV
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of SaveToStreamAll, use:
TImageEnIO.SaveToStreamIEN
ImageEnView1.IO.SaveToStreamIEN()