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
 Drag Length
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

John

USA
94 Posts

Posted - Mar 16 2013 :  13:09:37  Show Profile  Reply
Hello

When I create an annotation drag line, i.e.
MouseInteractVt := MouseInteractVt + [miDragLen];
The length is dynamically displayed and refreshed on the screen as the mouse moves across the vector canvas.

What is the function to dynamically capture the displayed length so that it can be placed in a variable? I am specifically looking for the final length, prior to releasing the mouse.

TIA

John

fab

1310 Posts

Posted - Mar 26 2013 :  23:37:01  Show Profile  Reply
Hello,
you can get the drag length, at the end, handling OnDragLenEnd event. It is fired one time.

Otherwise you can handle OnPresentMeasure, which is fired whenever the length changes.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: