|
Description
|
Fired when a non blocking error occurs during operations.
|
|
Syntax
|
Private Sub DXFReader_Error(ErrorCode As Integer, ErrorString As String)
|
|
Remarks
|
If a non blocking error occurs during reading, writing or regenerating a DXF drawing the program is notified by firing the Error event. This event is fired, with ErrorCode = 0, after successfully invoking the Regen, ReadDXF, Plot, PlotPreview, WriteDXF, and WriteDXFBlock Methods. The error codes are:
| Value | Description |
| | 0 | Ok | | 1 | Specify file name | | 99 | Entity not found | | 111 | Font not found | | 113 | Grid too dense to display | | 123 | Image file 'XXXXXX.XXX' not found | | 200 | View not found | | 201 | View already exists | | 300 | Layer not found | | 301 | Layer already exists | | 400 | Text style not found | | 401 | Text style already exists | | 500 | Line type not found | | 501 | Line type already exists | | 601 | Class record name already exists | | 700 | Block not found | | 701 | Block already exists | | 702 | Block 'XXXX' is an external reference | | 751 | Block Record already exists | | 801 | Dimension style already exists | | 901 | User Coordinate System already exists | | 902 | Viewport already exists | | 888 | The selected device has not raster capabilities | | 889 | No printer present | | 999 | Not a valid DXF file |
The parameters for the Error event are described below:
| ErrorCode | An integer that holds the current error number. | | ErrorString | A string expression that holds text, if available, describing the current error. |
|