Leadtools.Forms.Ocr Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Units Property
See Also 
Leadtools.Forms.Ocr Namespace > IOcrSettingDescriptor Interface : Units Property



Gets the name of the unit of the value.

Syntax

Visual Basic (Declaration) 
Overridable ReadOnly Property Units As String
Visual Basic (Usage)Copy Code
Dim instance As IOcrSettingDescriptor
Dim value As String
 
value = instance.Units
C# 
virtual string Units {get;}
C++/CLI 
virtual property String^ Units {
   String^ get();
}

Return Value

The name of the unit of the value.

Example

For an example, refer to IOcrSettingManager.

Remarks

The unit name gives you hint on what value to pass. For example, the LEADTOOLS OCR Plus engine contains the integer setting "SaveDocument.Document.Margin.Left", the Units value of this setting is reported as "Twips". Hence, you know that the integer value you pass must be in twips.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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