T O P I C R E V I E W |
aleatprog |
Posted - Oct 04 2018 : 14:11:53 Using ImageEnView, I like to draw with the mouse [miselect] multiple selections and save the XY coordinates of each rectangle in order to restore the exact position of the multiple selections on other images.
Could you please give me a hint, how to:
- add a selection without pushing the Shift button; - read the XY coordinates of the selections; - create the rectangles as selections (not as layer) on an image?
Thanks a lot, Ale |
4 L A T E S T R E P L I E S (Newest First) |
xequte |
Posted - Oct 07 2018 : 18:38:08 Hi
You should iterate through the selection using the PolySelPoints array:
https://www.imageen.com/help/TImageEnView.PolySel.html
If there are multiple selections, they will be separated by the point($FFFFF, $FFFFF)
Nigel Xequte Software www.imageen.com |
aleatprog |
Posted - Oct 07 2018 : 05:09:59 The output file created by TImageEnView.SaveSelectionToFile doesn't give me access to the XY coordinates of each single selection of the multiple selection, but I need them as I like to assign a different operation to each single selection.
I'll give your following approach a try: https://www.imageen.com/ieforum/topic.asp?TOPIC_ID=990 |
aleatprog |
Posted - Oct 05 2018 : 09:45:41 Perfect. Thank you, Nigel. |
xequte |
Posted - Oct 05 2018 : 00:32:46 Hi Ale
Use ShiftKeyLock to force selection addition (without using shift key)
https://www.imageen.com/help/TImageEnView.ShiftKeyLock.html
You can save and reload selections using:
https://www.imageen.com/help/TImageEnView.SaveSelectionToFile.html
Nigel Xequte Software www.imageen.com |