Hi
I use Aspose Diagram 17.4 to save a Visio file into SVG format.
In the result, the colors of some lines changes, and some disappear. This is different with the origin.
Please check this issue and the attachment.
P.S. here is my code
public void asposeConvert() throws Exception {
String fileName = “Rack.vsd”;
Diagram d = new Diagram(“input/” + fileName);
SVGSaveOptions saveOp = new SVGSaveOptions();
File outputDir = new File(“output/” + fileName + “/”);
if (!outputDir.exists())
outputDir.mkdir();
for (int i = 0; i < d.getPages().getCount(); i++) {
System.out.println(d.getPages().get(i).getName());
saveOp.setPageIndex(i);
d.save(new FileOutputStream(“output/” + fileName + “/” + (i + 1) + “.svg”), saveOp);
}
}