ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to transfer Selection from one IE to other IE?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yogiyang

India
725 Posts

Posted - Jun 24 2019 :  02:27:21  Show Profile  Reply
Hello,

I have a unique need where I need to be able to transfer selected created by a user in one IE to another IE which in on same form.

How to do this?

TIA


Yogi Yang

xequte

38127 Posts

Posted - Jun 24 2019 :  04:17:02  Show Profile  Reply
Hi Yogi

Please use SaveSelectionToStream then LoadSelectionToStream:

https://www.imageen.com/help/TImageEnView.SaveSelectionToStream.html
https://www.imageen.com/help/TImageEnView.LoadSelectionToStream.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

yogiyang

India
725 Posts

Posted - Jun 25 2019 :  07:22:05  Show Profile  Reply
Hello Nigel,

Thanks for the tip. Actually I am currently doing, but there is a lag of a few micro seconds by the time selection gets updated in the other IE.

So I am not able to give interactive selection in real time.

So I asked for help here to see if there is a faster way to achieve this.

TIA


Yogi Yang
Go to Top of Page

xequte

38127 Posts

Posted - Jun 26 2019 :  02:04:55  Show Profile  Reply
Hi Yogi

What type of selection is it?

If it is polygonal, you could assign the points from one TImageEnView to another:

https://www.imageen.com/help/TImageEnView.PolySelPoints.html
https://www.imageen.com/help/TImageEnView.AddSelPoint.html


Or you could assign the selection mask:

https://www.imageen.com/help/TImageEnView.SelectionMask.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: