Visio diagrams are usually used to create diagrams like flowcharts, organizational charts, floor plans, database models, or other drawings. The VSDX format is kind of an upgrade from VSD, which was an older version to work with Visio files. The VSDX format is based on XML structure whereas the VSD files contain binary data. Accordingly, this article explains how to convert a VSD diagram to a VSDX Visio file programmatically in C#.
VSD to VSDX File Converter – C# API Installation
You can easily configure the Aspose.Diagram for .NET API to create, edit, or manipulate Visio diagrams. Quickly access the API by downloading its DLL files from the New Releases section or using the NuGet installation command below:
PM> Install-Package Aspose.Diagram
Convert VSD Visio File to VSDX Format in C#
You can convert a VSD file to VSDX format with the following steps:
- Create an object of the Diagram class to load the input VSD diagram.
- Save the output VSDX Visio file using the Save method.
The following code sample elaborates how to convert a VSD file to the VSDX format programmatically in C#:
Get a Free API License
You can evaluate all the features of the API by requesting a free temporary license.
Conclusion
In this article, you have learned how to convert a VSD file to VSDX Visio file programmatically in C#. Moreover, you can explore various other features of the API by visiting the documentation section. Please feel free to write to us at the forum if you have any queries.