LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

EnumIsFlags Property






Gets a value indicating whether the enum members can be OR'ed together. .NET support WinRT support
Syntax
bool EnumIsFlags {get;}
'Declaration
 
ReadOnly Property EnumIsFlags As Boolean
'Usage
 
Dim instance As IOcrSettingDescriptor
Dim value As Boolean
 
value = instance.EnumIsFlags
bool EnumIsFlags {get;}
get_EnumIsFlags(); 
property bool EnumIsFlags {
   bool get();
}

Property Value

True if the enum members can be OR'ed {|}together (the enum has a flag type); otherwise it it false.
Remarks

If the enum members can be OR'ed{|} together, you can OR{|} multiple members obtained from GetEnumMemberValues or GetEnumMemberFriendlyNames into one integer or string value (separated by a comma) and pass them as the setting value. This is the same as having an enum in .NET decorated with the System.FlagsAttribute.

If the enum members cannot be OR'ed together (The value of EnumIsFlags is false), then only one member from obtained from GetEnumMemberValues or GetEnumMemberFriendlyNames can used as the setting value. This the same as having an enum in .NET not decorated with the System.FlagsAttribute.

This member is only valid if ValueType is OcrSettingValueType.Enum.

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: 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

See Also

Reference

IOcrSettingDescriptor Interface
IOcrSettingDescriptor Members
IOcrSettingManager Interface
OCR engine-specific Settings

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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