CogAutoSelect QueryPointSetX Method Cognex VisionPro 9.22
Set the X coordinate of the query point at the supplied index. This value is in the selected space of the input image.

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

public void QueryPointSetX(
	int index,
	double newValue
)

Parameters

index
Type: System Int32
The zero based index of the query point under consideration.
newValue
Type: System Double
Events

Event TypeReason
ICogChangedEvent Changed Fires when the specified point X coordinate is changed.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If the supplied query point index is less than zero or greater than or equal to the current number of defined query points.
See Also