Aspose.Diagram for .NET 19.1 Release Notes

Improvements and Changes

DIAGRAMNET-51082Add support of drawing PolylineEnhancement
DIAGRAMNET-51084Add support of drawing Bezier shapesEnhancement
DIAGRAMNET-51231Render comments when saving as image or HTMLEnhancement
DIAGRAMNET-51597VISIO to SVG - Rectangle elements use tag instead of Enhancement
DIAGRAMNET-50764VSDX reading is missing the color value of various shapesBug
DIAGRAMNET-51336Fix issues in Aspose.Diagram for .NET/Java releaseBug
DIAGRAMNET-51343Output VSDX - the shape size is not being changedBug
DIAGRAMNET-51579Read lock present after Save() method is calledBug

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 DrawPolyline in Page

The process of drawing polyline.

 PointF[] ps = new PointF[] {new PointF(1, 1), new PointF(2, 2), new PointF(3.79949292203676f, 0) };

diagram.Pages[0].DrawPolyline(1, 1, 2, 2, ps);

Adds DrawBezier in Page

The process of drawing bezier.

 PointF[] ps = new PointF[] {new PointF(1, 1), new PointF(2, 2)};

diagram.Pages[0].DrawBezier(1, 1, 2, 2, ps);

Adds IsExportComments in ImageSaveOptions and HTMLSaveOptions

Defines whether need exporting the comments or not.

 Aspose.Diagram.Saving.ImageSaveOptions io = new Aspose.Diagram.Saving.ImageSaveOptions(SaveFileFormat.PNG);

io.IsExportComments = true;

Aspose.Diagram.Saving.HTMLSaveOptions htmlo = new Aspose.Diagram.Saving.HTMLSaveOptions();

htmlo.IsExportComments = false;

Adds ExportElementAsRectTag in SVGSaveOptions

Defines whether need exporting rectangle elements as rect tag or not.

 var SVGso = new Aspose.Diagram.Saving.SVGSaveOptions();

SVGso.ExportGuideShapes = false;

SVGso.SaveFormat = Aspose.Diagram.SaveFileFormat.SVG;

SVGso.SVGFitToViewPort = true;

SVGso.ExportElementAsRectTag = true;