VSD VSDX to SWF

Visio drawings are commonly used to create flowcharts, database schema models, electric wiring, or furniture layout plans. In some use cases, you might need to convert a VSD or VSDX diagram to an SWF file. In accordance with similar requirements, this article covers how to convert a VSD or VSDX file to an SWF file programmatically in C#.

Visio Drawing to SWF File Converter – C# API Installation

Aspose.Diagram for .NET API can be used to create or convert Visio drawings. You can configure the API by downloading its DLL file from the New Releases or with the NuGet installation command below:

PM> Install-Package Aspose.Diagram

Convert VSD to SWF Programmatically in C#

You can convert a VSD file to SWF format with the following steps:

  1. Initialize a Diagram class object to load the VSD diagram.
  2. Write the output SWF file using the Save method.

The following code sample elaborates how to convert a VSD Visio diagram to an SWF file in C#:

Convert VSDX to SWF File in C#

You can convert a VSDX file to SWF format by following the steps below:

  1. Create an object of the Diagram class to load input VSDX file.
  2. Save the SWF file with the Save method.

The code snippet elaborates demonstrates how to convert a VSDX file to an SWF file programmatically in C#:

Get Free API License

You can evaluate all the features of the API in full capacity by requesting a free temporary license.

Conclusion

In this article, you have learned how to convert a VSD or VSDX file to an SWF file programmatically in C#. Moreover, you may visit the documentation to check other features offered by the API. In case of any queries, please feel free to contact us at the forum.

See Also

Create Flowchart Programmatically in C#