The Code Property is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the engine-specific error code that is the cause of this exception.Visual Basic (Declaration) | |
---|---|
Public Property Code As Long |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As OcrException Dim value As Long instance.Code = value value = instance.Code |
C# | |
---|---|
public long Code {get; set;} |
Property Value
An value that represents the engine-specific error code that is the cause of this exception.For an example, refer to OcrException.
The System.Exception.Message property of this OcrException will contain the same description used in IOcrEngine.GetErrorCodeString.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7