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

Free Support Forum - aspose.com

Bug when converting to Pdf

Hi. After update to 18.9 shape shadow converting wrong. On previous version (18.8) works fine.
Test.zip (31.1 KB)
123.png (4.8 KB)

public void ConvertToPdf()
string inputPath = @“C:\Test\input.vsd”;
string resultPath = @“C:\Test\result.pdf”;
input = File.Open(inputPath, FileMode.Open);
Aspose.Diagram.Diagram diagram = new Aspose.Diagram.Diagram(input);
MemoryStream pdfStream = new MemoryStream();
Aspose.Diagram.Saving.PdfSaveOptions pdfSaveOptions = new Aspose.Diagram.Saving.PdfSaveOptions();
pdfSaveOptions.PageSize = new PageSize((float)diagram.Pages[0].PageSheet.PageProps.PageWidth.Value 96.0F,(float)diagram.Pages[0].PageSheet.PageProps.PageHeight.Value 96.0F);
diagram.Save(pdfStream, pdfSaveOptions);
Assert.AreNotEqual(pdfStream, null);
using (var fs = new FileStream(resultPath, FileMode.Create))
pdfStream.Position = 0;


Thanks for contacting support.

We were able to observe the issue in our environment and logged it as regression under the ID DIAGRAMNET-51532 in our issue tracking system. We will further look into this and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.


Thanks for being patient.

We would like to share with you that your issue has been resolved in hotfix version Aspose.Diagram for .NET 18.9.1. You may please download hotfix from given link and in case you face any issue, please feel free to let us know.

1 Like

Thanks for hotfix. It’s works.
Have some another question. We have *.vsdm file with some shadow blur. After convert to Pdf we have only line. I think, PDF don’t support shadows with blur.files.zip (46.2 KB)
You can use same test code in top of topic, just replace @“C:\Test\input.vsd”; to @“C:\Test\input.vsdm”;


Thanks for your feedback.

We have further tested the scenario using new files which you have shared and noticed the issue, so logged it as DIAGRAMNET-51555 in our issue tracking system. We will further investigate it and share the ticket status with you as soon as we have some further updates. Please spare us little time.

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51532) have been fixed in Aspose.Diagram for .NET 18.10.