期待效果(Expectant effect)
expectant.png (59.7 KB)
实际效果(Actual effect)
actual.png (25.7 KB)
这是为什么,是没有这个功能吗(why???)
期待效果(Expectant effect)
expectant.png (59.7 KB)
实际效果(Actual effect)
actual.png (25.7 KB)
这是为什么,是没有这个功能吗(why???)
尝试了最新版本还是不可以
运行环境Windows10 ppt2010/2016
public static String write(IShape shape) {
String pathname = PptConfig.getPath() + PptConfig.getName() + “/”;
File path = new File(pathname);
if (!path.exists()) {
path.mkdirs();
}
String sourceName = “media/” + System.nanoTime() + “.svg”;
try {
FileOutputStream os = new FileOutputStream(pathname + sourceName);
shape.writeAsSvg(os);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
return sourceName;
}
The issues you found earlier (filed as SLIDESJAVA-37875) have been fixed in Aspose.Slides for Java 23.1 (JAR).
You can check all fixes on the Release Notes page.
You can also find the latest version of our library on the Product Download page.