Hi
Attached is an example vsdx where there’s a single hyperlink. The shape sheet for the link has the NewWindow property set to TRUE.
image.png (17.1 KB)
When saving as SVG from Visio, the NewWindow property is respected and the link contains a target="_blank" attribute. When saving as SVG from Aspose 19.10, the property is not respected and there’s no target set on the link.
The attached example code shows this in action.
Compile with:
javac -cp .:aspose-diagram-19.10-jdk16.jar com/cognidox/TestConvert.java
Run with:
java -cp .:aspose-diagram-19.10-jdk16.jar com.cognidox.TestConvert
- link-to-new-window.vsdx is the source Visio
- link-to-new-window.from-visio.svg is the version saved from Visio
- link-to-new-window.from-aspose.svg is the version saved from Aspose
link-to-new-window.zip (12.7 KB)
Regards
Vittal