CogPixelMap SetReferencePointOutput Method Cognex VisionPro 9.22
Sets the relative output value for an existing reference point.

Namespace: Cognex.VisionPro.PixelMap
Assembly: Cognex.VisionPro.PixelMap (in Cognex.VisionPro.PixelMap.dll) Version: 87.0.0.0
Syntax

public void SetReferencePointOutput(
	int index,
	double outputVal
)

Parameters

index
Type: System Int32
The index of the reference point.
outputVal
Type: System Double
The relative output value for the reference point.
Events

Event TypeReason
Cognex.VisionPro ICogChangedEvent Fires when the output value of the reference point changes.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If the index is negative or >= the number of reference points
ArgumentOutOfRangeException If outputVal is outside the range of [0,1] inclusive.
See Also