Reads or sets the dimensions of image pixels in mm in the X direction. Used when generating range images. Defaults to the scaling of sensor pixels at the closest distance from the camera that can be measured. This ensures no information is lost in range images for objects close to the camera, but it increases the width of the range image.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Property Value
Type: DoubleThe dimensions of image pixels in mm in the X direction.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: SfXScale |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied value is less than XScaleMin or greater than XScaleMax. |
See Also