I\m currently investigating the possibility to use Aspose.CAD for plotting dwg to pdf. I asked my colleague to create a new dwg in AutoCad 2019 in the latest file format and I am now testing with this file.
var format = Image.GetFileFormat(sourceFilePath); reports that the file is Aspose.CAD.FileFormat.CadR11
This is strange since R11 is a very old format.
When I then try to read the file
using (var cadImage = (CadImage)Image.Load(sourceFilePath))
Aspose.CAD.CadExceptions.ImageLoadException: ‘Image loading failed.’
Exception: Cannot process loading further due to incorrect file format structure.
Why is the file identified with the wrong format and why cant I read it?