Set a particular attribute (LowerLimit, Nominal, UpperLimit, or Overlap) of the ScaleY degree of freedom (DOF). Use the selector argument to specify which attribute.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Parameters
- selector
- Type: Cognex.VisionPro.OCVMax CogOCVMaxDOFAttributeConstants
The desired attribute. May be one of: CogOCVMaxDOFAttributeConstants::LowerLimit, ::Nominal, ::UpperLimit, or ::Overlap.
- dNewVal
- Type: System Double
The new attribute value. Note that ScaleY Overlap must be greater than or equal to one. Note that ScaleY LowerLimit, Nominal, and UpperLimit must all be greater than zero.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If you attempt to set ScaleY LowerLimit, Nominal, or UpperLimit to a value less than or equal to zero. |
| ObjectDisposedException | If this CogOCVMaxSearchParams object has already been disposed. |
See Also