We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Dwg to pdf failed

a simple dwg file convert to pdf failed.

exception message:
{“Image export failed.”}

sample data see the attachment.


cause the latest 4.0 dosen’t supported dwg file.
Hi Pyntia,

Thank you for your inquiry.

This is to update you that CAD format support has been discontinued in Aspose.Imaging API. A new component Aspose.CAD has been introduced to work with CAD formats. To continue the use of CAD API in your applications, please follow the steps given below:

  • Download and install Aspose.CAD API.
  • Add Aspose.CAD assembly reference to your project.
  • Replace Aspose.Imaging.FileFormats.Cad namespaces with Aspose.CAD into the code.

Please try the above solution at your end. Feel free to contact us in case of any query or comments.


i have tested the aspose.cad 1.1.0, the pdf result has so diff from the original dwg file. can you please toll me the reason. thanks.

the attachment contains the dwg and the output result pdf file.
Hi Pyntia,

Thank you for writing us back.

We have tried to open the DWG file shared by you. It is producing error. Please send us the correct source file so that we can investigate the issue. Screenshot of the error has been attached for your reference.

hi, it’s ok, you can click “continue open dwg file”

Hi Pyntia,

Thank you for writing us back.

This is to update you that the DWG file that you are trying is of version DWG 2007 [AC1021]. Aspose.CAD currently supports the following version:

AutoCAD 2004 DWG (version 16.0 Release 18)
DWG 2005 revision 16.1
2010 revision 18.0
2013 revision 19.0

A feature request has already been logged into our system with ID CADNET-15. We have bind this post with the ticket ID. We will update you with the progress via this forum thread.

hi,can you please use this file for test. see the attechment.

Hi Pyntia,

Thank you for sharing sample. We have forwarded the information to our product team. They will consider it while investigating the issue.

The issues you have found earlier (filed as CADNET-15) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.

The issues you have found earlier (filed as ) have been fixed in this Aspose.Words for JasperReports 18.3 update.