CogOCRMaxFielding LengthMax Property Cognex VisionPro 9.8 SR1
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.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.0.0.0
Syntax

public int LengthMax { get; set; }

Property Value

Type: Int32
Events

Event TypeReason
ICogChangedEvent Changed Fires after the LengthMax property is set to a new value.
Exceptions

ExceptionCondition
ArgumentOutOfRangeException If the supplied LengthMax is less than 1.
See Also