Leadtools.Forms.Ocr Namespace > IOcrSettingDescriptor Interface : Units Property |
string Units {get;}
'Declaration ReadOnly Property Units As String
'Usage Dim instance As IOcrSettingDescriptor Dim value As String value = instance.Units
string Units {get;}
get_Units();
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2