| ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGResult Object > IGResult Methods > AddRecord Method |
Adds a new record to the stack.
AddRecord (ErrCode As Long, Level As Long, Value1 As Long,
Value2 As Long, FileName As BSTR, LineNumber As Long, ExtraText
As BSTR)
| Name | Description |
|---|---|
| ErrCode | Error code |
| Level | Record level. 0 means error; 1 - warning |
| Value1 | Record-specific value |
| Value2 | Record-specific value |
| FileName | Name of the source file where the error/warning happens |
| LineNumber | Number of line containing error/warning |
| ExtraText | Extra record information |
None
N/A