Aspose.Diagram for Java 20.1 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMJAVA-50664Gradient fill not supported in export to SVGEnhancement
DIAGRAMJAVA-50670Allow loading fonts from memoryEnhancement
DIAGRAMJAVA-50681API is taking long time to load diagram file with large sizeEnhancement
DIAGRAMJAVA-50381The network shapes are not being preserved on converting a VSDX to PDFBug
DIAGRAMJAVA-50386The images are turned upside down with color difference on converting a VSD to SVGBug
DIAGRAMJAVA-50679VSDX to PDF - Connectors are missing in outputBug
DIAGRAMJAVA-50680Visio to PNG - Output images were cropped outBug

Public API and Backward Incompatible Changes

The following is a list of any changes made to the public API such as added, renamed, removed or deprecated members as well as any non-backward compatible change made to Aspose.Diagram for JAVA. If you have concerns about any change listed, please raise it on the Aspose.Diagram support forum.

  • Added getPages and setPages in Page - Specifies the index of the pages to be loaded.
 LoadOptions options = new LoadOptions(LoadFileFormat.VSDX);

options.setPages(new ArrayList());

options.getPages().add(0);
  • Adds setFontSources in FontConfigs - Sets the fonts sources.
 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);