ImageGear for .NET
Item Property (ImGearRecModuleCollection)
Example 




Provides access to a specific module.
Overload List
OverloadDescription
Item(Int32) Provides access to a specific module.  
Item(ImGearRecModule) Provides access to a specific module.  
Item(ImGearRecRecognitionModule) Provides access to a specific module.  
Remarks
This property provides access to a specific Recognition engine module given an index. For example, to print the name of the first module:
Example
string moduleList = "";
int i;
for (i = 0; i < igRecognition.Modules.Count; i++)
{
    ImGearRecModuleSettings module = igRecognition.Modules[i];
    moduleList += module.Name + "\r\n";
    ImGearRecModule Id = module.ID;
    moduleList += "igRecognition.Modules[" + "ImGearRecModule." + Id.ToString() + "].Version = " +
        igRecognition.Modules[Id].Version + "\r\n";
}
System.Console.WriteLine(moduleList);
Dim moduleList As String = ""
Dim i As Integer
i = 0
While i < igRecognition.Modules.Count
    Dim [module] As ImGearRecModuleSettings = igRecognition.Modules(i)
    moduleList += [module].Name + vbCr & vbLf
    Dim Id As ImGearRecModule = [module].ID
    moduleList += "igRecognition.Modules[" + "ImGearRecModule." + Id.ToString() + "].Version = " + _
    igRecognition.Modules(Id).Version.ToString() + vbCr & vbLf
    System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1)
End While
System.Console.WriteLine(moduleList)
See Also

Reference

ImGearRecModuleCollection Class
ImGearRecModuleCollection Members
ImGearRecModuleSettings Class

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback