Imagenation allows you to measure distances on an image by first defining a scale factor to be used when measurements are taken. You can set your own scale for a page, which acts like a scale on a map. For example, you can say that 1 measured cm equals 100 cm. In this example, the scale factor would be 0.01.
To request the current calibration value:
· Use the IN_GetPageCalibration function.
The reply indicates whether or not a calibration has been set, and if so, what its scale factor and units are.
To calibrate a page by defining a scale factor and units:
· Use the IN_SetPageCalibration function.
That scale factor is used for future measurements on that page.
To convert a value in one unit of measure to another:
· Use the IN_UnitConversion function.
The equivalent value in the unit you specified is returned.
See also