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”);
diagram.Save(dataDir + “outputDocument.pdf”, SaveFileFormat.PDF);
diagram.Save(dataDir + “outputDocument.html”, SaveFileFormat.HTML);