CogPixelMap SetReferencePoint Method Cognex VisionPro 9.7
Sets the relative values for an existing reference point.

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

public void SetReferencePoint(
	int index,
	double inputVal,
	double outputVal
)

Parameters

index
Type: System Int32
The index of the reference point.
inputVal
Type: System Double
The relative input value for the reference point. It must be in the range of [0,1] inclusive.
outputVal
Type: System Double
The relative output value for the reference point. It must be in the range of [0,1] inclusive.
Events

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

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