LEADTOOLS OCR (Leadtools.Forms.Ocr assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
MaximumItemLength Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrUserDictionary Interface : MaximumItemLength Property



The MaximumItemLength Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Gets a value that indicates the maximum number of characters in an item.

Syntax

Visual Basic (Declaration) 
ReadOnly Property MaximumItemLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As IOcrUserDictionary
Dim value As Integer
 
value = instance.MaximumItemLength
C# 
int MaximumItemLength {get;}
C++/CLI 
property int MaximumItemLength {
   int get();
}

Property Value

The maximum number of characters in an item.

Remarks

When creating new sections through the CreateItem method, the number of charcaters in the item value should not exceed MaximumItemLength.

Note: This property is not supported in the LEADTOOLS OCR Advantage Engine and it will always return 0 since sections are not supported for this engine.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

MaximumItemLength requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features