CogLineSegment EndX Property Cognex VisionPro 9.7
The X coordinate of the end point for the line segment.

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

public double EndX { get; set; }

Property Value

Type: Double
Events

Event TypeReason
CogLineSegment Changed

Fires when the value of this property changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    CogShapeCoordinatesMustDifferException

    Start and endpoint coordinates must be different.

    Remarks

    The x-coordinate of the line segment's ending point.

    Default Value: 120

    See Also