Aspose.Diagram for .NET 17.7 Release Notes

Improvements and Changes

DIAGRAMNET-51204Printer paper size is changed after diagram saving.Enhancement
DIAGRAMNET-51230Incorrect values of page margins.Enhancement
DIAGRAMNET-51274Add support of inserting comments on the shape level.Enhancement
DIAGRAMNET-51297Input VDX - incorrect reading of SolutionXML.Enhancement
DIAGRAMNET-51061Missing shapes on converting a VST to PNG.Bug
DIAGRAMNET-51262Displaced text items on converting a VSDM to SVG.Bug
DIAGRAMNET-51276VSD to SVG - all icons are not visible properly.Bug
DIAGRAMNET-51277VSDM to SVG - Missing shadow of shapes.Bug
DIAGRAMNET-51279A missing character on converting a VSD to PDF.Bug
DIAGRAMNET-51282Some vdx file are corrupted after saving.Bug
DIAGRAMNET-51284-DiagramException occurs on vsdx file loading.Bug
DIAGRAMNET-51285VSD to PNG - all text items are missing.Bug
DIAGRAMNET-51286VSD to PNG - the partial rendering of a shape.Bug
DIAGRAMNET-51288Invalid color value error on converting a VSDX to PNG.Bug
DIAGRAMNET-51289The page level comments icon does not display text.Bug
DIAGRAMNET-51290Aspose.Diagram bug in method SetWidth.Bug
DIAGRAMNET-51291Output VSDX - incorrect layout when setting the connecting lines straight.Bug
DIAGRAMNET-51292Output VSDX - the text item of connecting lines is misplaced.Bug
DIAGRAMNET-51293VSDX to SVG - an additional mark appears along with shapes.Bug
DIAGRAMNET-51294VSDM to SVG - an additional mark appears along with shapes.Bug

Public API and Backwards 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 .NET. If you have concerns about any change listed, please raise them in the Aspose.Diagram support forum.

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

Aspose.Diagram.Page page = diagram.Pages.GetPage("Page-1");

// retrieve shape by ID

Aspose.Diagram.Shape shape = page.Shapes.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