Aspose.Diagram for Java logo

We are pleased to announce that the new version 17.5 of Aspose.Diagram for Java API is now live. The new version of the API has improved the storing and retrieval mechanism of SolutionXML elements. It also generates a warning about font substitution during the export of the drawing to PDF format. Developers can apply 3D rotation effects to Visio shapes with Aspose.Diagram API. All the regular bug fixes are also included. 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.

Get Notification of Fonts Substitution on Exporting Drawing to PDF

Aspose.Diagram API requires access to the accurate fonts in order to properly render the drawing to PDF format. It is possible that a font is used in a drawing, but not available on the machine. This will cause Aspose.Diagram API to render any instance of that font using the default font or the closest available font on the machine. The font substitution can change the look of the rendered PDF, developers may want to be notified when a font is missing and with what font it was replaced with. This help topic narrates how to get notification of font substitution on exporting Visio drawings into PDF format: Receive Notification of Missing Fonts and Font Substitution during Export

Modify 3D Rotation Cell values in the Shapesheet

Users can modify cell values in “3D Rotation Properties” section of a shapesheet with Microsoft Visio application to apply 3D effects on a shape. From the recent version 17.5 or higher, developers would be able to incorporate this feature of retrieving and modifying cell values in “3D Rotation Properties” section in their Java applications. This help topic shows how to set 3D rotation cell values in the shapesheet: 3D Rotation Effects in a Visio Drawing

Besides this, the mechanism of storing and retrieving SolutionXML elements from the Visio drawings has been improved because in various cases a simple open and save procedure was removing SolutionXML elements. The recent version also comprises a series of bug fixes. In general, it improves the way of connecting shapes through the connection lines as well as preserves the color of shapes.

We auto port Aspose.Diagram for .NET to Java to give developers perfectly the same features on both platforms, so this version also incorporates the bug fixes and enhancements from its equivalent .NET version.

Public API Changes

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

  • com.aspose.diagram.ThreeDFormat class has been added. It helps in retrieving and modifying 3D rotation cell values in the shapesheet.
  • WarningCallback member is added in com.aspose.diagram.saving.PdfSaveOptions class. It helps to implement an IWarningCallback interface to get notifications of font substitution.

Aspose.Diagram for Java Resources

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

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