ImageEn, unit imageenview |
|
TImageEnView.SaveSelectionToFile
Declaration
procedure SaveSelectionToFile(const FileName: String);
Description
Saves the current selection to the specified file (just the user selection, not the image content).
ImageEnView1.Select(10, 10, 100, 100);
ImageEnView1.SaveSelectionToFile('selection1');
..
sel1.Position := 0;
ImageEnView1.LoadSelectionFromFile('selection1'); // this equates to Select(10, 10, 100, 100)