The Units Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets the name of the unit of the value.Visual Basic (Declaration) | |
---|---|
ReadOnly Property Units As String |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrSettingDescriptor Dim value As String value = instance.Units |
C# | |
---|---|
string Units {get;} |
Property Value
The name of the unit of the value.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.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7