Improved Grouping of Shapes, Export of VSDM Drawing and Manipulation of Shapes regarding Gradient Fill in Aspose.Diagram for Java 16.12.0
We’re pleased to announce that the new version 16.12.0 of Aspose.Diagram for Java API
is now live. The new version of the API allows developers to dynamically retrieve and modify the gradient fill data of a Visio shape. Using the new featured API, developers can apply modern and vibrant looks to any Visio shape. Developers can also find an improvement to manage the group of shapes and export of VSDM drawings in Linux systems. This release also incorporates regular bug fixes and performance improvements. We recommend our clients use the powerful Aspose for Java APIs directly in their Maven Projects with simple configurations
. For details on API fixes, please visit the product Release Notes
section of this new version.
Modify the Gradient Fill Data of a Visio Shape
A gradient fill is a graphical effect that produces a three dimensional color look by blending one color into another. Multiple colors can be used, where one color gradually fades and changes to the other color. Using Aspose.Diagram API, developers can retrieve and modify the gradient fill data as per their needs. Developers can also get the gradient stops from each gradient fill to set the position, color and transparency. This help topic shows how to modify the gradient fill data of a Visio shape: Modify the Gradient of a Visio Shape
Improved Export of VSDM Drawing in Linux Systems
Aspose.Diagram API has support of opening VSDM drawings, and then save back into the VSDM format. In few reported use cases, Aspose.Diagram API was not preserving VBA module as well as showing an error of incorrect code syntax. These problems were occurring in the Linux based working environments. We have enhanced the export of VSDM drawings in perspective of Linux systems. All these problems are now fixed internally in this latest version without any public API change.
Enhanced Grouping of Visio Shapes
Aspose.Diagram API allows developers to group shapes in the Visio drawing. It was making a single group shape from multiple ungrouped shapes. Clients were not able to use a group shape as the subshape of another group shape. We have enhanced the feature of grouping shapes. Developers can now use a group shape to make another single group shape.
We auto port Aspose.Diagram for .NET to Java to give developers perfectly same features on both platforms, so this version incorporates the bug fixes and enhancements from its equivalent .NET version. Please check a list of the resolved defects:
- Fixed: VSD to PDF and HTML export – the extra white space is generated on the left side of the drawing.
- Fixed: VSD to SVG export – the background color of container turns into black.
- Fixed: The group shape becomes invisible on adding circular shapes in a VSDM.
- Fixed: Page.AddShape method shows an invalid error on adding a dynamic connector.
- Fixed: Additional Line break and distance in the shape text on exporting a VSDM to PDF.
- Fixed: The text of the shapes is not at the center position when exporting a VSDM to PDF.
- Fixed: Open and save routine of a VSDX includes an additional text.
- Fixed: A shape text is being converted to the dummy characters.
- Fixed: Improper resizing of a group shape in the output VSDM.
- Fixed: The wrong text position of shapes on saving in the PDF format.
- Fixed: The wrong font size on saving a VSDM in the PDF format.
- Fixed: The text items are being overlapped on converting a VSD pages to SVGs.
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 saves time and efforts. The API is quite simple and developers can use it in application easily.