Polygon SetVertexX Method Cognex VisionPro 9.21

Set the X-coordinate of the vertex with the given index.

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public void SetVertexX(
	int index,
	double value
)
Exceptions

ExceptionCondition
ArgumentExceptionNumVertices < 1.
ArgumentExceptionindex < 0 or index > ( NumVertices -1)
Remarks

Changed Raised when a vertex is changed.

Remarks

Gets the x-coordinate of the vertex with the given index. Use SetVertex() and GetVertex() to set or get both the x- and y-coordinate at once.

See Also