Skip to content

Instantly share code, notes, and snippets.

@aspose-com-gists
Last active March 16, 2022 08:18

Revisions

  1. aspose-com-gists revised this gist Mar 16, 2022. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions readme.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    You can read more details at: [Convert Visio VSD or VSDX or VDX in Java](https://blog.aspose.com/2022/02/25/convert-vsd-vsdx-to-vdx-java/)
  2. aspose-com-gists created this gist Feb 28, 2022.
    5 changes: 5 additions & 0 deletions VSD to VDX.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // 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);
    5 changes: 5 additions & 0 deletions VSDX to VDX.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    // 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);