Convert VSD or VSDX to VDX in C#

Convert VSD VSDX to VDX csharp

Visio drawings are collections of shapes and icons which can be used for different purposes. For example, a floor plan or a blueprint of a building. In some cases, you might need to convert a Visio drawing to a VDX file. In accordance with such scenarios, this article covers how to convert VSD or VSDX diagrams to a VDX file programmatically in C#.

Visio Drawing to VDX Converter – C# API Installation

Aspose.Diagram for .NET API supports working with Visio diagrams. You can easily configure it to convert VSD or VSDX files to a VDX format file programmatically in C#. Simply download it from the Downloads section or use the following NuGet installation command:

PM> Install-Package Aspose.Diagram

Convert Visio VSD to VDX Programmatically in C#

You can convert VSD to VDX file by following the steps below:

  1. Call the Diagram class constructor to load the input VSD diagram.
  2. Save the output VDX file with the Save method.

The following code snippet explains how to convert a VSD diagram to a VDX file programmatically in C#:

Convert Visio VSDX File to VDX in C#

You need to follow the steps below for converting a Visio VSDX file to VDX format programmatically in C#:

  1. Load the input VSDX file using the Diagram class.
  2. Save the output VDX file using the Save method.

The following code snippet elaborates how to convert a VSDX Visio diagram file to a VDX file programmatically in C#:

Get Free API License

You can evaluate the API without any evaluation limitations by requesting a free temporary license.

Conclusion

In this article, you have explored how to convert a VSD or VSDX file to a VDX diagram programmatically in C#. VDX is a schema-based XML format that is used to transfer data between different Visio file processing applications. Furthermore, please take a look at the documentation section to explore other features of the API. Please feel free to write to us at the forum, in case of any concerns.

See Also

Convert VSD or VSDX Visio File to SWF Programmatically in C#