ImageEn, unit imageenview

TImageEnView.SaveSelectionToStream

TImageEnView.SaveSelectionToStream


Declaration

procedure SaveSelectionToStream(Stream: TStream);


Description

Saves the current selection to the specified stream (just the user selection, not the image content)


Example

ImageEnView1.Select(10, 10, 100, 100);
ImageEnView1.SaveSelectionToStream(sel1);
..
sel1.Position := 0;
ImageEnView1.LoadSelectionFromStream(sel1); // this equates to Select(10, 10, 100, 100)