Browse our Products

Aspose.Diagram for Java 17.6 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMJAVA-50500Output VSDX - the manually added shape size is not being changedEnhancement
DIAGRAMJAVA-50503Output VSDX - the text overflow when adding multi-line textEnhancement
DIAGRAMJAVA-50505A null pointer error occurred on converting the drawing page to imageBug
DIAGRAMJAVA-50484Vertical text display of decision box shape when saving a drawing in VSDX formatBug
DIAGRAMJAVA-50486Vertical text display of Predefined process shape when saving a drawing in VSDX formatBug 
DIAGRAMJAVA-50492The formulas in Width and Height cells are not being preservedBug
DIAGRAMJAVA-50493Missing characters on converting a VSD to SVGBug
DIAGRAMJAVA-50494Output VSDX - the connecting lines are not connecting in the mid of process shapesBug
DIAGRAMJAVA-50499VSDX to PNG - a white horizontal line appears at the bottom of shapeBug

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 refreshData Method in the Shape class

The Shape.refreshData method allows developers to refresh the data after changing the position of shape, shape’s text, Geoms and connections.

 // Call a Diagram class constructor to load the Visio drawing

Diagram diagram = new Diagram(@"c:\temp\Drawing1.vsdx");

//Find a particular shape and update its XForm

for(Shape shape :(Iterable<Shape>) diagram.getPages().get(0).getShapes())

{

    if (shape.getNameU().toLowerCase() == "process" && shape.getID() == 1)

    {

        shape.getXForm().getPinX().setValue(5);

        shape.getXForm().getPinY().setValue(5);

        shape.refreshData();

    }

}


 
 English