Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 16, 2022 08:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/ce46c9ea53546d6e56a688a35937c4f0 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/ce46c9ea53546d6e56a688a35937c4f0 to your computer and use it in GitHub Desktop.
Convert VSD or VSDX Diagram to VDX Programmatically in C# .NET
// Call the diagram constructor to load diagram from a VSD file
Diagram diagram = new Diagram("VSDtoVDX.vsd");
// Convert VSD to VDX
diagram.Save("VSDToVDX_out.vdx", SaveFileFormat.Vdx);
// Call the diagram constructor to load diagram from a VSDX file
Diagram diagram = new Diagram("VSDXtoVDX.vsdx");
// Convert VSDX to VDX
diagram.Save("VSDXToVDX_out.vdx", SaveFileFormat.Vdx);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment