Page 1 of 1

Import DXF or WMF image

Posted: 11 Aug 2009, 02:14
by Davidk
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.

Re: Import DXF or WMF image

Posted: 17 Aug 2009, 12:17
by Evgeny Chuzhakin
Hi David,

Thank you for the post.

The problem is fixed in the latest CAD Import .NET.
Please download new 7.2. version:
http://www.cadsofttools.com/download/cadimportnet.zip
Kind regards,
Evgeny