Win a copy of Create an Uber Clone in 7 Days: Build a real world full stack mobile app in Java this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Add Horizontal Space to Collection of Visio Shapes & Convert Page Region to Image in Java & .NET App  RSS feed

 
Ranch Hand
Posts: 669
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is new in this release?

We are pleased to announce the new release of Aspose.Diagram for Java 17.6.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 you briefly how to use Aspose.Diagram for performing different tasks like the followings.

- Auto-space a Collection of Shapes in the Visio Page
- Exporting VSD to VDX

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

- Homepage of Aspose.Diagram for Java
- Download Aspose.Diagram for Java
- Online documentation of Aspose.Diagram for Java

Contact Information
Suite 119, 272 Victoria Avenue
Chatswood, NSW, 2067
Australia
Aspose - Your File Format Experts
sales@aspose.com
Phone: 888.277.6734
Fax: 866.810.9465
 
Been there. Done that. Went back for more. But this time, I took this tiny ad with me:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!