Gets or sets the maximum number of lines to be found. A LineMaxMulti
license must be available to execute the tool with MaxNumLines set
to greater than or equal to 0.
Namespace: Cognex.VisionPro.LineMaxAssembly: Cognex.VisionPro.LineMax (in Cognex.VisionPro.LineMax.dll) Version: 87.0.0.0
Syntax
Property Value
Type: Int32If a LineMaxMulti license is not found, MaxNumLines must be set to 0 or 1. If a LineMaxMulti license is found, there is no upper limit on MaxNumLines, though processing time will increase with larger values.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown when you assign a value less than zero. |
Remarks
See Also