浏览我们的产品

Aspose.Diagram for Java 20.1 发行说明

改进和变化

钥匙概括类别
DIAGRAMJAVA-50664Gradient fill not supported in export to SVG强化
DIAGRAMJAVA-50670允许从内存中加载字体强化
DIAGRAMJAVA-50681API 加载 diagram 大文件需要很长时间强化
DIAGRAMJAVA-50381The network shapes are not being preserved on converting a VSDX to PDF漏洞
DIAGRAMJAVA-50386The images are turned upside down with color difference on converting a VSD to SVG漏洞
DIAGRAMJAVA-50679VSDX to PDF - Connectors are missing in output漏洞
DIAGRAMJAVA-50680Visio to PNG - Output images were cropped out漏洞

公共 API 和向后不兼容的更改

以下是对公共 API 所做的任何更改的列表,例如添加、重命名、删除或弃用的成员,以及对 JAVA 对 Aspose.Diagram 所做的任何非向后兼容更改。如果您对列出的任何更改有疑虑,请在 Aspose.Diagram 支持论坛上提出。

  • 在 Page 中添加了 getPages 和 setPages - 指定要加载的页面的索引。
 LoadOptions options = new LoadOptions(LoadFileFormat.VSDX);

options.setPages(new ArrayList());

options.getPages().add(0);
  • 在 FontConfigs 中添加 setFontSources - 设置字体源。
 byte[]b = new byte[]{ 0 };

com.aspose.diagram.MemoryFontSource sc1 = new com.aspose.diagram.MemoryFontSource(b);

com.aspose.diagram.MemoryFontSource sc2 = new com.aspose.diagram.MemoryFontSource(b);

com.aspose.diagram.MemoryFontSource[]sc = new com.aspose.diagram.MemoryFontSource[]{ sc1, sc2 };

com.aspose.diagram.FontConfigs.setFontSources(sc); 


 
 简体中文