Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.9
|
Leadtools.Forms.Ocr Assembly > Leadtools.Forms.Ocr Namespace > IOcrSettingDescriptor Interface : EnumIsFlags Property |
bool EnumIsFlags {get;}
'Declaration
ReadOnly Property EnumIsFlags As Boolean
'Usage
Dim instance As IOcrSettingDescriptor Dim value As Boolean value = instance.EnumIsFlags
bool EnumIsFlags {get;}
@property (nonatomic, assign, readonly) BOOL enumIsFlags
public boolean getEnumIsFlags()
get_EnumIsFlags();
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 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 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.