Visio diagram files are used to create different designs like organizational charts, UML diagrams, network layout, etc. The VSDX files are based on XML format which allows you to parse some of the file contents with little effort. Sometimes, you might need to convert a VSD file to VSDX format for different reasons. To address such requirements, this article covers how to convert a VSD file to VSDX format programmatically in Java.
VSD VSDX File Conversion - Java API Installation
You can work with Aspose.Diagram for Java API to manipulate MS Visio diagrams without needing to install Visio application. Simply download the JAR file from the Downloads page or paste the following configurations in the pom.xml file to access it from Aspose Repository in your application:
<name>Aspose Java API</name>
Convert VSD to VSDX Visio Diagram in Java
You can convert a VSD file to VSDX format Visio file by following the steps below:
- Create an instance of the Diagram class to load the input VSD Visio file.
- Call the save method to convert VSD to VSDX file format.
The following code snippet explains how to convert a VSD file to VSDX Visio file programmatically in Java:
Get a Free License
You may request a free temporary license to evaluate the API without any evaluation limitations.
In this article, you have understood how to convert a VSD file to VSDX format Visio file programmatically in Java. Moreover, you may like to visit the documentation space to explore other chapters and sections covering different features. Please feel free to get in touch with us via the forum.