Aspose.Diagram for Java logo

We’re pleased to announce that the new version 16.10.0 of Aspose.Diagram for Java API is now live. The new version of the API allows to automatically change the display text of Visio drawing from Data1, Data2, and Data3 properties. Developers can even formulate a shape text from another shape’s properties. Developers can also create a master shape from scratch or edit an existing master shape in the Visio drawings. They can set all basic properties and icon of the master shape. 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.

Display Data1, Data2 and Data3 Property Values on Visio Drawing

Using Aspose.Diagram API, developers may set a shape’s Data1, Data2, and Data3 properties. On populating a shape’s text from these properties, Aspose.Diagram API was not automatically modifying the text of the various shapes in Visio drawing. Although, it was updating property values in the Shapesheet. We have enhanced this feature similar to the behavior of Microsoft Office Visio. It now automatically modifies the text of shape even if we populate the text of a shape from another shape’s properties.

Create or Customize Master Shape from Scratch

Users can manually drag and drop a shape from stencil to a Visio page. During this process, Microsoft Office Visio copies the master shape into the local document stencil before the first instance is positioned on the page. The actual shape that is seen in the page inherits most of its attributes from its master. Using Aspose.Diagram API, developers can now manage to create a master shape from scratch. They might also edit an existing master shape. This help topic shows how to create a master from scratch: Create Master from Scratch

We auto port Aspose.Diagram for .NET to Java to give developers perfectly the 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 conversion - shapes are missing.
  • Fixed: VSD to PDF conversion, the text of the shape appears not bold.
  • Fixed: Shape.GluedShapes method call is not returning all shape ids.
  • Fixed: The vertical text appears as horizontal text on converting a VSDX to PNG.
  • Fixed: The appearance of shapes is changed while converting a VSDX to PNG.
  • Fixed: The incorrect symbol appears on converting a VSDX page to PNG.
  • Fixed: The number format error occurred on saving a VST to PNG.
  • Fixed: The number format error occurred on saving a VST to PDF.
  • Fixed: Retrieves reverse order of incoming and outgoing nodes from a VSDX.
  • Fixed: Can’t retrieve relationships cell of the container shape from a VSD.
  • Fixed: A Number Format error occurred on converting a VSD to SVG.
  • Fixed: The black color rectangles are generated on converting a VSD to SVG.
  • Fixed: The arrows are not being rendered correctly on converting a VSD to SVG.
  • Fixed: The text items are displaced on converting a VSD to SVG.
  • Fixed: Incorrect rendering of the calendar on converting a VSD to SVG.
  • Fixed: Shape.connectedShapes method returns nodes with the reverse direction.
  • Fixed: Can’t retrieve relationship cell of the shapes from a VSD.
  • Fixed: The background color of Visio pages is black on converting a VSD to SVG.
  • Fixed: Junk shape ID’s are being retrieved from a VSD diagram.
  • Fixed: The incorrect symbol appears on converting a VSDX page to SVG.
  • Fixed: The Page size option is being changed by setting the width and height of the VSDM page.
  • Fixed: Can’t retrieve relationship string of the shapes from a VSD.
  • Fixed: Improper change in the size of a Visio shape on opening and saving in VSDM.

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 effort. The API is quite simple and developers can use it in application easily.