←Select platform

GetEnumMemberValues Method

Summary

Gets an array containing the enumeration members values.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int[] GetEnumMemberValues() 
Function GetEnumMemberValues() As Integer() 
int[] GetEnumMemberValues() 
@property (nonatomic, copy, readonly, nullable) NSArray<NSNumber *> *enumMemberValues 
             
public int[] getEnumMemberValues() 
function Leadtools.Forms.Ocr.IOcrSettingDescriptor.GetEnumMemberValues() 
array<int>^ GetEnumMemberValues();  

Return Value

An array of integers containing the enumeration members values.

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 FlagsAttribute.

If the enum members cannot be OR'ed together (The value of EnumIsFlags is false), then only one member 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.

Example

For an example, refer to IOcrSettingManager.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly