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

Free Support Forum - aspose.com

Microsoft Sharepoint workflow items missing in PNG output of Visio Page


I am using aspose.diagram v6.7.0 to generate PNG of page - 'Page-1' of the attached visio file. In the PNG output, Microsoft Sharepoint workflow items are missing.

Following code is used to generate the PNG output:

Diagram diagram = new Diagram("microsoft sharepoint wf.vsdx");
String pageName = "Page-1";
Page srcPage = diagram.getPages().getPage(pageName);
File outputFile = new File("Page-1.png");
int imageFormat = SaveFileFormat.PNG;

int pageIndex = 0;
ImageSaveOptions options = new ImageSaveOptions(imageFormat);
for (Page page : (Iterable) diagram.getPages()) {
if (page.getID() == srcPage.getID()) {
diagram.save(outputFile.getAbsolutePath(), options);

Can you please analyse this issue.


Hi Neha,

Thank you for contacting support. We managed to replicate the problem of missing shape. It has been logged under ticket ID DIAGRAMJAVA-50379 in our bug tracking system. Your post has also been linked to this ticket. We’ll keep you informed regarding any available updates. We’re sorry for the inconvenience caused.

Hi Neha,

Thank you for being patient. We have a good news for you that the ticket ID DIAGRAMJAVA-50379 has now been resolved. If there is no issue in the QA phase, then this fix will be included in the next version 17.1.0 of Aspose.Diagram for Java API. We’ll inform you via this forum thread as soon as the new release is published.

Hi Neha,

Thank you for being patient. In reference to the ticket ID DIAGRAMJAVA-50379, please download and use the latest Hotfix version: Aspose.Diagram for Java Please also let us know how that goes on your side.

The issues you have found earlier (filed as DIAGRAMJAVA-50379) have been fixed in Aspose.Diagram for Java 17.1.0.

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