T O P I C R E V I E W |
AndyColmes |
Posted - May 20 2015 : 13:51:16 I am trying to save a polygon selection or a polygon object and reload it using the saved data. Am I saving the polygon points and redrawing it back? If yes, how would I do that?
In the past, I used to save the object as .IEV files but it has proven not too convenient for the users to save.
Thanks in advance.
Andy |
4 L A T E S T R E P L I E S (Newest First) |
AndyColmes |
Posted - May 21 2015 : 06:41:00 Hi Nigel, excellent! That's exactly what I needed.
Thanks very much.
Andy
|
xequte |
Posted - May 21 2015 : 01:09:09 Hi Andy
If you mean just the selection, then you can use:
ImageEnView1.SaveSelectionToFile(); ImageEnView1.LoadSelectionFromFile();
Nigel Xequte Software www.xequte.com nigel@xequte.com
|
AndyColmes |
Posted - May 20 2015 : 20:36:28 Unfortunately, I am not using tif files. What I really need is to be able to save polygon selections and be able to restore them. Is there a way to do that by saving and restoring the polygon points to maybe an .ini file?
Thanks Bill.
Andy
|
w2m |
Posted - May 20 2015 : 13:55:33 Are you using tif files? If so, you can just save the objects to the tif file with no need for a dialog.
Bill Miller Adirondack Software & Graphics Email: w2m@hughes.net EBook: http://www.imageen.com/ebook/ Custom Commercial ImageEn Development |