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/3abe6e4ac9727d6b8e2d268a3d74b607 to your computer and use it in GitHub Desktop.
Save aspose-com-gists/3abe6e4ac9727d6b8e2d268a3d74b607 to your computer and use it in GitHub Desktop.
Convert VSD or VSDX Diagram to VDX Programmatically in Java
// Call the diagram constructor to load diagram from a VSD file
Diagram diagram = new Diagram("ExportToVDX.vsd");
// Convert VSD to VDX
diagram.save("VSDtoVSDX_out.vdx", SaveFileFormat.VDX);
// Call the diagram constructor to load diagram from a VSDX file
Diagram diagram = new Diagram("ExportToVDX.vsdx");
// Convert VSDX to VDX
diagram.save("VSDXtoVSDX_out.vdx", SaveFileFormat.VDX);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment