Browse our Products

Aspose.Diagram for Java 17.7 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMJAVA-50491Cannot retrieve the new formulated shape height.Enhancement
DIAGRAMJAVA-50510VSD to SVG - incorrect fill color pattern in the shapes.Enhancement
DIAGRAMJAVA-50483Incomplete connection of shapes when saving a drawing in VSDX format.Bug
DIAGRAMJAVA-50488Additional text items are added when converting a VSD to SVG.Bug
DIAGRAMJAVA-50490Vertical border lines of predefined process box are thick when generating a VSDX drawing.Bug 
DIAGRAMJAVA-50495Output VSDX - incorrect layout of connector line when adding text to shapes.Bug
DIAGRAMJAVA-50496Output VSDX - all connectors are drifted upward.Bug
DIAGRAMJAVA-50498Output VSDX - the vertical text display of shapes instead of the horizontal.Bug
DIAGRAMJAVA-50506An error occurred on loading a VDX drawing.Bug
DIAGRAMJAVA-50508Output VSDX - the text overflow when adding multi-line text.Bug
DIAGRAMJAVA-50511Output VSDX - misplaced text of the dynamic connector.Bug
DIAGRAMJAVA-50512Output VSDX - the connecting line passing through another shapeBug
DIAGRAMJAVA-50513Output VSDX - an additional line of connector inside the decision shapeBug
DIAGRAMJAVA-50515Output VSDX - the entire text of the shape is out of the borderBug

addComment Method is added in the Page class

An overloaded addComment method, exposed by the Page class takes a Shape class instance and text string of the comment.

 // load diagram

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

// retrieve page by name

Page page = diagram.getPages().getPage("Page-1");

// retrieve shape by ID

Shape shape = page.getShapes().getShape(12);

page.addComment(shape, "Hello");

// save diagram

diagram.save("c:\\temp\\Drawing1.vsdx", SaveFileFormat.VSDX);

Usage Examples

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

  1. Add a Shape-Level Comment in Visio Drawing


 
 English