Add ActiveX Controls in Visio Diagrams using Aspose.Diagram for .NET 6.8.0

Aspose.Diagram for .NET logo

We’re pleased to announce that the new version 6.8.0 of Aspose.Diagram for .NET API is now live. The new version of the API allows developers to insert an ActiveX control in their Visio drawings and select or clear the CheckBox in Color column of the layer. They can also retrieve inherited fill data of the Visio shape. The recent version also covers a number of regular bug fixes and enhancements. 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.

Insert an ActiveX Control into the Visio Drawing

An ActiveX control is a software component that adds functionality to an existing Visio drawing. Microsoft Visio includes several pre-built ActiveX controls on the Developer tab, including a label, textbox, command button, image, scroll bar, checkbox, combobox and listbox etc. Using Aspose.Diagram API, developers can now add ActiveX controls in their Visio drawing by specifying width, height and location. This help topic shows how to add an ActiveX control in the Visio drawing: Insert an ActiveX Control in the Visio Diagram

Show or Hide the Color of a Layer in the Visio Diagram

Layers in Microsoft Visio provide a way to change properties of all shapes that have been assigned to a specific layer. Developers can assign a color to the layer using Aspose.Diagram API. They may also show or hide the color of the layer by selecting or clearing the checkbox in the color column of the layer. This help topic shows how to show or hide the color of layer while adding a new layer: Add a new Layer in the Visio Diagram

Retrieve Inherited Fill Data of the Shape

In the Microsoft Visio, shapes can inherit StyleSheet and PageSheet elements. Using Aspose.Diagram API, developers can now retrieve inherited fill data of the Visio shape. The InheritFill property of the Shape class contains the fill formatting values for the shape inherited by the parent style and the master shape. This help topic shows how to retrieve the inherited fill data of a Visio shape: Retrieve Inherited Fill Data of a Visio Shape

This version also addresses the issues of missing shapes, tables and icons, the retrieval of the connections, preserve DPI in the output pictures, additional shapes, retrieve direction of the dynamic connectors and accuracy in alignment 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: The shapes are missing from VSDX drawing.
  • Fixed: The small icons of the tables are missing on saving a VSDX to PDF.
  • Fixed: Incorrect retrieval of the Connects from a VSD.
  • Fixed: An incorrect DPI is being set on saving in the TIFF.
  • Fixed: The connection of the dynamic connector is not being preserved on grouping shapes.
  • Fixed: An extra square is added around the circle shape on converting a VDX to PDF.
  • Fixed: Can’t copy a Visio page in the VSDM.
  • Fixed: Can’t set headers and footers of a VSDX diagram.
  • Fixed: Microsoft Visio 2013 viewer does not display a VSDX diagram.
  • Fixed: A table is missing on converting a VSDX to PNG.
  • Fixed: Incomplete rendering of a dynamic connector in the VSDM diagram.
  • Fixed: A null reference error occurred while inserting a picture.
  • Fixed: Retrieves a reverse direction of the connector from a VSD diagram.
  • Fixed: The text alignment problem on converting a VSDX to PDF.
  • Fixed: The text alignment and formatting problems on converting a VSDX to PDF.
  • Fixed: The bold text formatting is not being preserved on converting a VSDX to PDF.
  • Fixed: Returns incorrect connections, while retrieving from a VSD.

Aspose.Diagram for .NET Resources

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

  • Home page for Aspose.Diagram for .NET API.
  • Download Aspose.Diagram for .NET
  • Aspose.Diagram for .NET wiki docs – Help documentation and API reference documents.
  • Aspose.Diagram product family forum – Post your technical questions, queries and any other problem you faced while running Aspose.Diagram APIs.
  • Enable email subscription – Don’t limit yourself, stay up-to-date with the latest news about the Aspose.Diagram APIs and new features, fixes, plus other API related topics by subscribing to Aspose.Diagram blog.
  • Aspose.Diagram for .NET Examples – We have published our code examples on the social coding website Anyone can explore the code examples for learning purposes.
  • Migrate from Earlier Versions of Aspose.Diagram API – We keep track of Aspose.Diagram API change version by version. So we recommend to get help from this section while upgrading to the latest API version or if Aspose.Diagram API code is broken at some stage.

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.