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

vlkc

7 Posts

Posted - Feb 18 2020 :  11:02:07  Show Profile  Reply
Hello, need help.

on ImageEnVect1.MouseInteract:= [miMeasureLength]; I get response:

"xx,xx pixels"





How to change response to:

"xx px"?

xequte

38127 Posts

Posted - Feb 18 2020 :  14:07:45  Show Profile  Reply
Hi

The units use for measurement are specified by:

https://www.imageen.com/help/TIEImageEnGlobalSettings.DefaultMeasureUnit.html

The accuracy by:

https://www.imageen.com/help/TIEImageEnGlobalSettings.MeasureDecimalPlaces.html

And the unit text by:

https://www.imageen.com/help/TIEImageEnGlobalSettings.MeasureUnits.html


So you want:

IEGlobalSettings().MeasureDecimalPlaces := 0;

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