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

Free Support Forum - aspose.com

Link on shape out of position on html doc


Using Aspose.Diagram, on a file with 2 shape, grouped, one of them with a hyperlink.

  • on the original document, the link is on the “test” shape
  • when we save it to pdf, the link is correctly displayed on the “test” shape
  • when we save it to html, there is a problem with the position of the link, moved at the top of the second shape, not on the shape itself.

the bug can be reproduced with the sample code from “Programmer’s Guide”
and with the file linked to this topic, explanations file within
elements.zip (91.9 KB)

string dataDir = dataDir = @“D:\Temp\Aspose”; //RunExamples.GetDataDir_LoadSaveConvert();
// Load diagram
Diagram diagram = new Diagram(dataDir + “inputDocument.vsdx”);
// ExEnd:ExportToHTML
diagram.Save(dataDir + “outputDocument.pdf”, SaveFileFormat.PDF);
// ExEnd:ExportToHTML
diagram.Save(dataDir + “outputDocument.html”, SaveFileFormat.HTML);


We were able to reproduce the issue in our environment while using Aspose.Diagram for .NET 20.12. Therefore, we have logged it as DIAGRAMNET-51976 in our issue management system. We will further look into its details and keep you posted with the status of its rectification. Please be patient and spare us some time.

We apologize for your inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51976) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou