LineSegment SetStartEnd Method Cognex VisionPro 9.20

Sets coordinates StartX, StartY, EndX, EndY for the line segment.

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

public void SetStartEnd(
	double startX,
	double startY,
	double endX,
	double endY
)
Exceptions

ExceptionCondition
ShapeExceptionStart and endpoint coordinates must be different.
Remarks

Changed Raised when the value of this property changes.

See Also