Import DXF or WMF image
Posted: 11 Aug 2009, 02:14
Hello,
I am using this code:
Dim cadImageFld As CADImage
cadImageFld = CADImage.CreateImageByExtension(imageFName)
cadImageFld.LoadFromFile(imageFName)
This will open a DXF or BMP with no problem. When I try to open a WMF file I get the error:
Object reference not set to an instance of the object.
I have also tried to open WMF files from your EditorDemo program and I get the same results.
Can you tell me how to open WMF files?
Best regards,
David K.
I am using this code:
Dim cadImageFld As CADImage
cadImageFld = CADImage.CreateImageByExtension(imageFName)
cadImageFld.LoadFromFile(imageFName)
This will open a DXF or BMP with no problem. When I try to open a WMF file I get the error:
Object reference not set to an instance of the object.
I have also tried to open WMF files from your EditorDemo program and I get the same results.
Can you tell me how to open WMF files?
Best regards,
David K.