←Select platform

Units Property

Summary
Gets the name of the unit of the value.
Syntax
C#
VB
Objective-C
C++
Java
public string Units { get; } 
ReadOnly Property Units As String 
@property (nonatomic, copy, readonly, nullable) NSString *units 
public String getUnits() 
property String^ Units { 
   String^ get(); 
} 

Property Value

The name of the unit of the value.

Remarks

The unit name gives you hint on what value to pass. For example, the LEADTOOLS OCR Module - OmniPage Engine contains the integer setting "Recognition.IcrNumeral.CharacterBoxData.Width", the Units value of this setting is reported as "Inch". Hence, you know that the integer value you pass must be in inches.

This member is only valid if ValueType is OcrSettingValueType.Integer or OcrSettingValueType.Double.

For a list of supported engine-specific settings and their meanings, refer to OCR engine-specific Settings.

Example

For an example, refer to IOcrSettingManager.

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.