ImageEn, unit imageenview |
|
TImageEnView.MergeSelectionFromStream
TImageEnView.MergeSelectionFromStream
Declaration
function MergeSelectionFromStream(Stream: TStream): Boolean;
Description
Loads a selection from a stream (saved using
SaveSelectionToStream or
SaveSelectionToFile) merging it with the currently one.
Returns False if it fails.
ImageEnView1.Select(10, 10, 100, 100);
ImageEnView1.SaveSelectionToStream(sel1);
..
sel1.Position := 0;
ImageEnView1.MergeSelectionFromStream(sel1); // this equates to Select(10, 10, 100, 100, iespAdd)