ImageEn, unit ievect

TImageEnVect.SaveToStreamIEV

TImageEnVect.SaveToStreamIEV


Declaration


procedure SaveToStreamIEV(Stream: TStream; hobj: integer = -3);


Description


Saves all objects to an IEV format stream. The IEV format is written to save vectorial objects as lines, ellipses and bitmaps (but not background image).

hobj specifies the object to save (-3 = all objects);


Example


// saves the vectorial images contained in ImageEnVect1 and ImageEnVect2 to "mappe.dat".
var
  fs: TFileStream;
begin
  fs := TFileStream.Create('mappe.dat', fmCreate);
  ImageEnVect1.SaveToStreamIEV(fs);
  ImageEnVect2.SaveToStreamIEV(fs);
  fs.free;
end;


See Also


- LoadFromFileIEV
- SaveToFileIEV
- LoadFromStreamIEV
- LoadFromFileAll
- SaveToFileAll
- LoadFromStreamAll
- SaveToStreamAll
- ImportDXF