CogOCVMaxPattern SetDOFScaleX Method Cognex VisionPro 9.7
Set a particular attribute (LowerLimit, Nominal, or UpperLimit) of the ScaleX degree of freedom (DOF). Use the selector argument to specify which attribute.

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

public void SetDOFScaleX(
	CogOCVMaxDOFAttributeConstants selector,
	double dNewVal
)

Parameters

selector
Type: Cognex.VisionPro.OCVMax CogOCVMaxDOFAttributeConstants
The desired attribute. May be one of: CogOCVMaxDOFAttributeConstants::LowerLimit, ::Nominal, or ::UpperLimit.
dNewVal
Type: System Double
The new attribute value. Note that ScaleX Overlap must be greater than or equal to one. Note that ScaleX LowerLimit, Nominal, and UpperLimit must all be greater than zero.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
ArgumentOutOfRangeExceptionIf you attempt to set ScaleX Overlap to a value less than one.
See Also