ImageEn, unit imageenview |
|
TImageEnView.SaveSelectionToStream
Declaration
procedure SaveSelectionToStream(Stream: TStream);
Description
Saves the current selection to the specified stream (just the user selection, not the image content)
ImageEnView1.Select(10, 10, 100, 100);
ImageEnView1.SaveSelectionToStream(sel1);
..
sel1.Position := 0;
ImageEnView1.LoadSelectionFromStream(sel1); // this equates to Select(10, 10, 100, 100)