Thursday, October 5, 2017

Add Horizontal Space to Collection of Visio Shapes & Convert Page Region to Image using Java

What’s new in this release?

Aspose team is pleased to announce the new release of Aspose.Diagram for Java 17.9.0. The new version of the API adds features to get the shape by name, retrieves the shape ID of the shape-level annotation, adds horizontal and vertical space to the collection of shapes and render a specified rectangular region of the Visio page to an image. With Aspose.Diagram API, developers can retrieve page and shape level annotations from an existing Visio drawing. After annotating a shape, there was no way to retrieve information about the shape from an annotation instance. In order to retrieve the shape from an annotation instance, the ShapeID member is added in the Annotation class and Shapes member of the Page instance allows to retrieve the shape by ID. With the recent version 17.9 of Aspose.Diagram API, developers can add horizontal and vertical distances to a collection of shapes. In order to achieve this, the Page class offers AutoSpaceShapes member which takes ShapeCollection and AutoSpaceOptions parameters. The AutoSpaceOptions class allows to set horizontal and vertical distances. Developers can use the code example on blog announcement page to add horizontal and vertical space to a collection of Visio shapes: With the recent version 17.9 of Aspose.Diagram for .NET API, developers can define areas with XY coordinates, width and height, and then convert this rectangle area to a supported image format. Besides this, developers can retrieve shape by name and we have incorporated a number of regular bug fixes and enhancements. This release includes several enhanced features and bug fixes as listed below
  • Add support of auto spacing shapes in Visio
  • Output VSDX - incorrect layout of the connector line
  • Output PNG - the text of shape goes out of the boundary
  • Output VSDX - the connecting line is touching the boundary of shape
  • Output VSDX - incorrect layout of the connecting lines
  • Output VSDX - incorrect layout and misplaced text of the connecting lines
  • Output VSDX - Cannot formulate the position of text in shape
  • Output VSDX - cannot set property value as String
Newly added documentation pages and articles

Some new tips and articles have now been added into Aspose.Diagram for Java documentation that may guide users briefly how to use Aspose.Diagram for performing different tasks like the followings.
Overview: Aspose.Diagram for Java 

Aspose.Diagram is a class library for working with MS Visio files & is a pure Java alternate for MS Visio Object Model. It is a standalone Visio Java library and does not depend on Microsoft Office Visio. It enables developers to work with VSD & VDX files and they can open files & Add   & manipulate the elements of the diagram, export Visio files to PDF, XML, HTML, images format, SVG & several other formats,  Rotate a shape, Add a hyperlink to a Visio shape, protect diagram shape and many more.  Aspose.Diagram can be used with any kind of application, whether it’s a Web Application or a Windows Desktop Application.

More about Aspose.Diagram for Java

No comments:

Post a Comment