Aspose.Diagram for .NET 20.8 Release Notes

Improvements and Changes

KeySummaryCategory
DIAGRAMNET-51886Create ability to insert Ole object such as Words, Cells, Slides, etc. to the Diagram into the single shape with both object data and preview image inside it.Enhancement
DIAGRAMNET-51888Visio to PDF - API is taking long time for conversionEnhancement
DIAGRAMNET-51889Saving to pdf looping more than 20 minutesEnhancement
DIAGRAMNET-51893Missing viewBox attribute after VSDX to SVG conversionEnhancement
DIAGRAMNET-51851VSDX to PDF - some icons are missing and some not rendered correctlyBug
DIAGRAMNET-51873VSDX to PDF - Content is out on left in the output PDFBug
DIAGRAMNET-51874VSDX to PDF - content and lines are missing in the outputBug
DIAGRAMNET-51876VSDX to PNG - some shapes are incorrect in the outputBug
DIAGRAMNET-51879Visio to PDF - output is not correctBug
DIAGRAMNET-51894System.NullReferenceException while loading the diagramBug
DIAGRAMNET-51895Unable to retrieve Group Property data like SelectionModel, DisplayModeBug

Public API and Backward 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 it on the Aspose.Diagram support forum.

Added Method AddShape in Page

Diagram diagram = new Diagram();

// Get page object by index
Aspose.Diagram.Page page0 = diagram.Pages[0];
// set pinX, pinY, width and height
double pinX = 2, pinY = 2, width = 4, hieght = 3;

// Import ole as Visio shape word
page0.AddShape(pinX, pinY, width, hieght, new FileStream( "imageword.emf", FileMode.OpenOrCreate), new FileStream( "wordsource.doc", FileMode.OpenOrCreate));