CogIDPostnet LengthMax Property Cognex VisionPro
Gets or sets the desired postal code to decode.

Namespace: Cognex.VisionPro.ID
Assembly: Cognex.VisionPro.ID (in Cognex.VisionPro.ID.dll) Version: 65.1.0.0
Syntax

public int LengthMax { get; set; }

Property Value

Type: Int32
Default value is 12.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when the value of this property changes.

Exceptions

ExceptionCondition
ArgumentException The new value is < 5 or > 14.
Remarks

For 13 digit Cepnet, the maxinum number of characters must be set to 13. With a checksum character is set, the maximun number of characters must be set to 14.
See Also