IMcSpatialCalibConversionFactor Property
|
|
Gets or sets the unit conversion factor
Namespace:
MediaCy.IQL.Calibrations
Assembly:
MediaCy.IQL.Calibrations (in MediaCy.IQL.Calibrations.dll) Version: 10.0.6912.0
SyntaxProperty ConversionFactor As Double
Get
Set
Property Value
Type:
Double
RemarksThe unit conversion factor can be used to convert a value expressed in a
spatial calibration using absolute units to a value expressed in meters. This
factor can then be used to convert to any other desired units. For instance,
to convert to millimeters use value * ConversionFactor * 1000.
The conversion factor is a read-only property for spatial calibrations that
are expressed in known physical units, which should have the unit
specified using the Unit property which will also set the
conversion factor. The ConversionFactor can be set for other arbitrary physical
units. Specify the Unit as mcsuOther, set the unit name (e.g. Angstroms), optionally
set the unit abbreviation, and then set the ConversionFactor correctly for the new
unit (e.g. 10e-10 for Angstroms).
Note |
---|
The ConversionFactor MUST be set AFTER the unit. |
See Also