GetImageCalibration Method
Syntax
CWIMAQVision.GetImageCalibration SourceImage, XAxisRatio, YAxisRatio, Unit
Return Type
On success, this method returns 0. On failure, this method returns a negative number.
Purpose
Obsolete—Use GetCalibrationInformation instead. Returns the calibration information of an image.
Remarks
Use this method with all image types.
Parameters
SourceImage As CWIMAQImage
The image whose calibration information the method queries.
XAxisRatio As Single
On return, the horizontal distance separating two adjacent pixels in the indicated unit.
YAxisRatio As Single
On return, the vertical distance separating two adjacent pixels in the indicated unit.
Unit As CWIMAQCalibrationUnits
On return, the unit of measure associated with the image.