CogOCRMaxTuneParams MaxNumCharInstancesInFont Property Cognex VisionPro
Set the maximum number of instances per character that the OCRMax tuning mechanism will include in the tuned font.

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

public int MaxNumCharInstancesInFont { get; set; }

Property Value

Type: Int32
The MaxNumCharInstancesInFont value. The default value is System::Int32::MaxValue.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfMaxNumCharInstancesInFont
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if set to a value less than or equal to 0.
See Also