CogCADToRange ScaleX Property Cognex VisionPro 9.7
Gets or sets the x scale.

Namespace: Cognex.VisionPro.CAD
Assembly: Cognex.VisionPro.CAD (in Cognex.VisionPro.CAD.dll) Version: 73.0.0.0
Syntax

public double ScaleX { get; set; }

Property Value

Type: Double
The value specifies the physical units per pixel scale factor. The default value is 1.
Events

Event TypeReason
ICogChangedEvent Changed Fires when this property changes. The following state flags may be affected:
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If the value is less than or equal to 0.
ObjectDisposedException If the object has been disposed.
See Also