When I convert a file in dwf format to PDF using Aspose.CAD 23.11, part of the content is lost.
Sample Code
void Main()
{
var path = @"C:\Users\54390\Downloads\demo.dwf";
var outputPath = @"C:\Users\54390\Downloads\output.pdf";
var doc = Aspose.CAD.Image.Load(path);
var cadImage = doc as Aspose.CAD.FileFormats.Cad.CadImage;
var rasterizationOptions = new Aspose.CAD.ImageOptions.CadRasterizationOptions()
{
DrawType = Aspose.CAD.FileFormats.Cad.CadDrawTypeMode.UseObjectColor
};
doc.Save(outputPath, new Aspose.CAD.ImageOptions.PdfOptions() { VectorRasterizationOptions = rasterizationOptions });
}
Demo File
demo.zip (1.8 MB)
The Screenshot
20231210160012.jpg (200.2 KB)
@sullivan
Hi.
I can see this problem, we have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): CADNET-9547
@oleksii.gorokhovatskyi
Hi, Is there any progress on this problem?
@sullivan,
Hello,
please, test it with the latest release, it should be fixed.
@oleksii.gorokhovatskyi
I have test it with the latest release(24.3), It not be fixed.
@sullivan,
I can see this unfortunately. We have reopened the task. We are sorry for the inconvenience.
@oleksii.gorokhovatskyi
Hi, Is there any progress on this problem?
@sullivan,
Hello,
this is planned to appear in the upcoming Aspose.CAD 24.5 next week.
@sullivan,
Hi.
The fix is available with the latest Aspose.CAD for .NET 24.5 release. Could you please test it on your side?