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
 miDragLen and miPutRuler, different measure value
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

supersk

104 Posts

Posted - Oct 16 2013 :  18:05:25  Show Profile  Reply
I want to measure length between two point when image zoom is 800, when I set MouseInteractVt = miDragLen, I got the first length value; when I set MouseInteractVt = miPutRuler, I got the second length value. The first value does not equals the second value.Even more strangely, when MouseInteractVt = miPutRuler, I release the mouse the value will auto change. Why? Moreover, when MouseInteractVt = miDragLen, how can I keep the measurement result on image. Thank you!

supersk

104 Posts

Posted - Oct 27 2013 :  00:20:19  Show Profile  Reply
somebody can give me some helpful advice??
Go to Top of Page

fab

1310 Posts

Posted - Oct 30 2013 :  02:03:34  Show Profile  Reply
Ruler object can have a different measure unit than DragLen (that is not an object, but just a measuring tool). Have you set ObjRulerUnit equals to TImageEnVect.MUnit?

ImageEnVect1.ObjRulerUnit[-1] := ieuINCHES;
ImageEnVect1.MUnit := ieuINCHES;

Also, at large zooms little differences can be normal due the math rounding.
Go to Top of Page

supersk

104 Posts

Posted - Nov 05 2013 :  23:49:45  Show Profile  Reply
I think this is not real reason because when MouseInteractVt = miDragLen, the measure value will not change when releasing the mouse at large zoom(greater than 100).
Go to Top of Page

fab

1310 Posts

Posted - Nov 27 2013 :  07:39:02  Show Profile  Reply
Unfortunately I cannot replicate. Could you send a screenshot or a project with image which replicate this problem?
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: