Exporting to VSDX Format and Convert Shapes into a Group Shape Support using Aspose.Diagram for Java 5.8.0

Aspose.Diagram for Java logoWe’re pleased to announce the new version 5.8.0 of the Aspose.Diagram for Java API. The support of exporting Visio diagrams to Microsoft Visio 2013 VSDX format has been added in this version. Developers can also create diagrams from scratch or modify the existing VSDX diagrams. Aspose.Diagram API now supports grouping a set of shapes and also save diagram into HTML without the toolbar. This release also includes the most recent bug fixes and enhanced retrieval of the diagram properties, layers visibility and auto shape positioning.

Read and Write Microsoft Visio 2013 VSDX Format

In previous, we added support of reading VSDX diagram. Developers were able to read and extract the content of the diagram, but they were not able to save it in the VSDX format as well. From this version, they would also be able to write diagram in the VSDX format. Please also check this help topic: How to Save a Visio Diagram.

Group a Set of Shapes Programmatically

Aspose.Diagram API has added support of grouping shapes together. The groups are a great way to organize shapes in a Visio drawing. Following help topic shows, how developers can group shapes together: Group Multiple Shapes Together in the Visio Drawing

Save Visio Diagram into HTML without the Toolbar

In some use cases, our client’s requirement was not to include toolbars in the resultant HTML document. In reference of this required feature, we have added the SaveToolBar property to the HTMLSaveOptions class. It specifies whether to include the toolbar or not. Following help topic shows, how developers can save diagram into the HTML format using SaveToolBar option: Specifying Diagram Save Options

Please check the newly added defect fixes and enhancements:

  • Fixed: Incorrect Visio page properties.

  • Fixed: DiagramSaveOptions.AutoFitPageToDrawingContent property works partially.

  • Fixed: Layers disappear when using setAutoFitPageToDrawingContent save option.

Public API Changes

The following API changes in the new version are also worth noting:

  • The new SaveToolBar option has been added to the HTMLSaveOptions class.

  • The VSDX format option has been added to the SaveFileFormat enum.

  • The group method has been added to the ShapeCollection class.

Aspose.Diagram for Java Resources

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

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