CogLineMax LengthThreshold Property Cognex VisionPro 9.8
Gets or sets the minimum acceptable length of a line segment. Line segments must meet this constraint to become results.

Namespace: Cognex.VisionPro.LineMax
Assembly: Cognex.VisionPro.LineMax (in Cognex.VisionPro.LineMax.dll) Version: 75.1.0.0
Syntax

public double LengthThreshold { get; set; }

Property Value

Type: Double
The minimum acceptable length. A value of zero effectively disables this constraint.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown when assigned a value less than zero.
See Also