Get
Returns/sets the scaling of this transform. When scaling is set the rotation, skew, and aspect remain unchanged.
Set
Namespace: Cognex.VisionSets Scaling.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
Syntax
Property Value
Type: DoubleDefault Value: 1
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The new scaling value is zero. |
Remarks
Sets or gets the uniform scaling of this transformation object. When you set the scaling, the Rotation, Skew, and Aspect values remain unchanged. If Aspect equals one, then Scaling, ScalingX, and ScalingY are equal. Otherwise, Scaling is equal to ScalingX, and Aspect is equal to ScalingY divided by ScalingX. Notice that changes to this property affect both ScalingX and ScalingY. In the standard transformation matrix, scaling is represented by the symbol S.
Remarks
Changed Raised when the value of this property changes.
- SfLinear
- SfRotation
- SfScaling
- SfAspect
- SfGetMatrixElement
- SfMatrixDeterminant
- SfRotationX
- SfRotationY
- SfScalingX
- SfScalingY
- SfTranslationX
- SfTranslationY
See Also