Browse our Products

Aspose.Diagram for Java 17.8 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMJAVA-50412Missing shapes on converting a VST to PNG.Bug
DIAGRAMJAVA-50497Output VSDX - incorrect layout of all connecting lines.Bug
DIAGRAMJAVA-50500Output VSDX - the manually added shape size is not being changed.Bug
DIAGRAMJAVA-50511Output VSDX - misplaced text of the dynamic connector.Bug
DIAGRAMJAVA-50516Output VSDX - the connecting line passing through another shape.Bug 
DIAGRAMJAVA-50517Output VSDX - the decision shape is becoming larger.Bug
DIAGRAMJAVA-50520Cannot set the overlapping behavior of connecting lines in a VSDX drawing.Bug
DIAGRAMJAVA-50521Output VSDX - incorrect layout of the connector line.Bug
DIAGRAMJAVA-50522Output PNG - the text of shape goes out of the boundary.Bug
DIAGRAMJAVA-50523Output VSDX - incorrect layout of the connecting line.Bug
DIAGRAMJAVA-50525Output VSDX - the width formula of any shape is not preserved.Bug
DIAGRAMJAVA-50528Output VSDX - incorrect size of the shape.Bug
DIAGRAMJAVA-50529Output VSDX - preserve the Text Transform section formulas.Bug
DIAGRAMJAVA-50531Output VSDX - the layout of shapes is not according to the width and height in shapesheet.Bug
DIAGRAMJAVA-50533Output VSDX - incorrect layout of the connecting line.Bug

Public API and Backwards Incompatible Changes

See the list for 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.

Adds Quality member in SVGSaveOptions class

It gets or sets a value determining the quality of the generated images.

 String dataDir = "c:\\temp\\";

// Load an existing drawing

Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

// specify SVG export settings

SVGSaveOptions options = new SVGSaveOptions();

// set image quality

options.setQuality(100);

// save drawing in the SVG format

diagram.save(dataDir + "UseSVGSaveOptions_out.svg", options);

Adds connectShapesViaConnectorIndex method in Page class

It allows to connect shapes using connection indexes.

 String dataDir = "c:\\temp\\";

// Load an existing drawing

Diagram diagram = new Diagram(dataDir + "Drawing1.vsdx");

// get shapes by ID

Shape shape1 = diagram.getPages().get(0).getShapes().getShape(1);

Shape shape2 = diagram.getPages().get(0).getShapes().getShape(2);

// add connector shapes

Shape connector1 = new Shape();

long connecter1Id = diagram.addShape(connector1, "Dynamic connector", 0);

// connect shapes by index of conneecting points

diagram.getPages().get(0).connectShapesViaConnectorIndex(shape1.getID(), 6, shape2.getID(), 3, connecter1Id);

// save drawing

diagram.save(dataDir + "UseSVGSaveOptions_out.vsdx", SaveFileFormat.VSDX);

Usage Examples

Please check the list of help topics added in the Aspose.Diagram Wiki docs: 

  1. Use Connection indexes to connect shapes
  2. Use of the SVG Save Options


 
 English