Imran Rafique August 16, 20160 Comments

Improved Auto Scaling of a Shape and Set an Event Cell in the Visio Drawing using Aspose.Diagram for .NET 6.7.0

Improved Auto Scaling of a Shape and Set an Event Cell in the Visio Drawing using Aspose.Diagram for .NET 6.7.0

August 16, 2016
Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.Diagram for .NET logoWe’re pleased to announce that the new version 6.7.0 of Aspose.Diagram for .NET API is now live. It is a maintenance release with important bug fixes and improvements. With this release, we made several firm steps towards establishing the worth of import and render features of Visio diagrams. Using this new version 6.7.0, developers would be able to set an event cell in the Shapesheet as well as auto scaling a shape on adding its new instance in a Visio drawing. Developers can install an Aspose.Diagram Nuget package in their .NET applications because we publish each version as a NuGet package on the NuGet gallery. We recommend our clients upgrade old version of Aspose.Diagram API to this latest one. For details on API fixes, please check Release Notes having a complete list of the features, enhancements and bug fixes.

Setting Cells in the Event Section of ShapeSheet

The Microsoft Visio engine has many ways of triggering and responding to events. Users may put formulas into ShapeSheet cells that perform an action, such as running a macro or navigating to another drawing page, in response to an event. These formulas might be used in the Events section, which handles a group of events. Using Aspose.Diagram API, developers are already able to set various cells in the Event section of the ShapeSheet. However, this feature was not working properly for VSDM files. We have enhanced this feature to cover macro-enabled Visio formats. This help topic shows how to dynamically modify the event cells in Shapeheet: Setting Cells in the Event Section of ShapeSheet

Auto Scale a Shape to Fit in the Visio Page

With the auto-scale capabilities, users may drag and drop a Visio shape on the drawing manually. Using Aspose.Diagram API, developers can now add this feature in their .NET applications. The AddShape method of Diagram class allows resizing shapes with auto-scale capabilities to fit in the whole page. In short, the auto-scaling capabilities of a Visio shape will be configured by the AddShape method of the Diagram class internally.

This version also addresses the issues of missing tables, appearance of the shapes, proper rendering of ActiveX button control and accuracy in size of the shapes. These enhancements and bug fixes improve performance and accuracy of Aspose.Diagram API. Please check a list of the resolved defects:

  • Fixed: VSD to PDF conversion – the red cross image appears instead of the shape.

  • Fixed: VSD to HTML conversion – the background color of the shape is not preserved.

  • Fixed: VSD to PDF conversion – the Color of the shapes are not preserved.

  • Fixed: VSD to PDF conversion – the table items are not preserved.

  • Fixed: Does not auto scale a shape on the drawing.

  • Fixed: Drags and drops the large size Visio shapes.

  • Fixed: Load and save routine of a VSDM diagram shows a cross sign in place of the button.

  • Fixed: Can’t set an event cell of the shape in VSDM.

  • Fixed: VSD to PDF conversion – the logo transparency is not preserved.

  • Fixed: VSD to PDF conversion – incorrect line breaks in text.

  • Fixed: Junk reading of the angle property in a VSDX diagram.

  • Fixed: Incorrect readings of incoming nodes in a VSD diagram.

  • Fixed: A table is missing on converting a VSDX to PNG.

  • Fixed: Tables are missing on converting a VSDX to PNG.

  • Fixed: NullReferenceException occurred while saving a VSD to PDF.

  • Fixed: The gradient color pattern of a shape is changed on converting a VSD to PNG.

  • Fixed: The endpoints of connectors are not connected while saving in the VDX format.

Aspose.Diagram for .NET Resources

The following resources will help you work with Aspose.Diagram for .NET:

We hope you’ll enjoy this new release that saves time and efforts. The API is quite simple and developers can use it in application easily.

Leave a comment

Posted inAspose.Diagram Product FamilyTags: , , , ,
 

Related Articles