Get or set the maximum acceptable string length, inclusive.
This parameter is ignored if VariableLength is false. Note that
this setter will enforce LengthMax >= LengthMin by setting
LengthMin to equal the new LengthMax if necessary.
Default is 999.
Namespace: Cognex.VisionPro.OCRMaxAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 69.0.0.0
Syntax
Property Value
Type: Int32Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires after the LengthMax property is set to a new value. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the supplied LengthMax is less than 1. |
See Also