Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 16, 2022 08:18
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