Description
Get the calibration unit type.
-
Property type
-
A mcSpatialUnit enumeration.
-
Syntax
-
object.Unit [= value]
The Unit Property syntax has these parts: Settings The settings for value are:
 | mcsuPixel | 0 | |
 | mcsuOther | 1 | |
 | mcsuNanometer | 2 | |
 | mcsuMicrometer | 3 | |
 | mcsuMillimeter | 4 | |
 | mcsuCentimeter | 5 | |
 | mcsuMeter | 6 | |
 | mcsuKilometer | 7 | |
 | mcsuInch | 8 | |
 | mcsuFoot | 9 | |
 | mcsuYard | 10 | |
 | mcsuMile | 11 | |
Remarks
By default, the spatial calibration are expressed in pixel units.
There are a number of built-in spatial unit types that can
be used to indicate the calibration units. If the calibration units
are set by this property to any unit other than mcsuPixel and mcsuOther,
the calibration will represent an absolute physical size, and will
be convertable from one physical unit to another. Unit uses mcSpatialUnit
which is a built-in unit type:
mcsuPixel
mcsuOther
mcsuNanometer
mcsuMicrometer
mcsuMillimeter
mcsuCentimeter
mcsuMeter
mcsuKilometer
mcsuInch
mcsuFoot
mcsuYard
mcsuMile
|