Browse our Products

Aspose.Diagram for .NET 17.9 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMNET-51261Add support of converting the specific area of a drawing to imageEnhancement
DIAGRAMNET-51350Add support to retrieve shape by nameEnhancement
DIAGRAMNET-51351Add support of retrieving the shape from AnnotationEnhancement
DIAGRAMNET-51295VSDX to SVG - the low quality of output SVGBug
DIAGRAMNET-51309DiagramException occurs on VSDX file savingBug
DIAGRAMNET-51331VSDM to SVG - the text items are shifted upBug
DIAGRAMNET-51333VSDM to SVG - incorrect rendering of the circular iconsBug
DIAGRAMNET-51339VSDX to SVG - the truncation of text from the right side of each imageBug
DIAGRAMNET-51340Incorrect comments orderBug
 DIAGRAMNET-51342Out of memory error after using the “AddComment” method and save file to steamBug
DIAGRAMNET-51344VSDX to PDF - an argument out of range error occurredBug
DIAGRAMNET-51345The comment is not deleted together with the shapeBug
DIAGRAMNET-51346VSDM to SVG - the logo quality is downgradedBug
DIAGRAMNET-51347VSDM to SVG - the logo quality is downgradedBug
DIAGRAMNET-51353Cannot add another comment in the Visio pageBug
DIAGRAMNET-51354Cannot edit comments in the Visio pageBug

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.

Adds GetShape member in ShapeCollection

It allows to retrieve a shape by name.

 string dataDir = @"C:\temp\";

// load a drawing

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

// retrieve page by name

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

// retrieve shape by name

Shape shape = page.Shapes.GetShape("name");

Adds ShapeID member in Annotation

It allows to track the shape of comment.

 string dataDir = @"C:\temp\";

// load a drawing

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

// get the annotation by index

Annotation annotation = diagram.Pages.GetPage("Page-1").PageSheet.Annotations[1];

// get shape Id

Console.WriteLine(annotation.ShapeID);

Adds Area in RenderingSaveOptions

It allows to convert the specific rectangle region of Visio drawing.

 // load a Visio drawing

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

ImageSaveOptions Options = new ImageSaveOptions(SaveFileFormat.PNG);

// specify region

Options.Area = new RectangleF(0, 0, 1, 1);

// save into the image format

diagram.Save("e:\\area.png", Options);

Usage Examples

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

  1. Convert Specified Area of the Visio Page to an Image
  2. Auto-space a Collection of Shapes in the Visio Page


 
 English