ImageEn, unit imageenview

TImageEnView.SaveSelectionToFile

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).


Example

ImageEnView1.Select(10, 10, 100, 100);
ImageEnView1.SaveSelectionToFile('selection1');
..
sel1.Position := 0;
ImageEnView1.LoadSelectionFromFile('selection1');   // this equates to Select(10, 10, 100, 100)