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
 Image state when polyline is being drawn
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

yeohray2

Malaysia
106 Posts

Posted - Feb 21 2023 :  03:19:43  Show Profile  Reply
I have an image where users can draw an automatically-closed polyline, and I also want to be able to run a specific action when the user double clicks on the image. So there are 2 possible scenarios:

- no polyline is being drawn, user double clicks on image, I want to run my action
- polyline is being drawn, user double clicks on image, I want to let the polyline close, and don't want to run my action

Is there a property that lets me know that a polyline is currently being drawn?

Thanks in advance.
Ray

xequte

38608 Posts

Posted - Feb 21 2023 :  22:57:36  Show Profile  Reply
Hi Ray

In the coming 12.0.0 release, you can check whether ImageEnView1.InteractionState = ieisCreatingLineLayer;

You can email me for a beta.


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

yeohray2

Malaysia
106 Posts

Posted - Feb 24 2023 :  19:07:27  Show Profile  Reply
Hi Nigel,

Great, thanks Have emailed you.

Ray
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: