T O P I C R E V I E W |
c.basso |
Posted - Apr 02 2015 : 10:00:50 I have an image, I've set the scale using SetScaleFromPixels. MUnit is set to Millimeters.
So I know that 63pixel are equal to 10mm in my image. The ScaleFactor is approx 1,87...
Now I need to create programmatically an object that is 10mm length.
I dont' understand how to use ScaleFactor value, If I do: 10 / ScaleFactor = 5,34... ???
Thanks Claudio
Claudio |
1 L A T E S T R E P L I E S (Newest First) |
c.basso |
Posted - Apr 02 2015 : 13:35:45 Solved!
If you are using MUnit as Millimeters: To get pixel value: (ImageEn.DpiX / ScaleFactor * MM_VALUE) / 25,4
(/ 25,4 is to get Inch from mm)
Claudio |
|
|