You can find more details at: Convert Visio VSD or VSDX File to XAML in Java
Last active
March 30, 2022 08:30
-
-
Save aspose-com-gists/85c81d961a54a5c4445abc0b88e44735 to your computer and use it in GitHub Desktop.
Convert Visio VSD VSDX Diagram to XAML in Java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load input Visio diagram | |
Diagram diagram = new Diagram("Input.vsd"); | |
// Create an instance of XAMLSaveOptions class | |
XAMLSaveOptions options = new XAMLSaveOptions(); | |
options.setSaveFormat(SaveFileFormat.XAML); | |
// Save the output XAML file | |
diagram.save("output.xaml", options); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Load input Visio diagram | |
Diagram diagram = new Diagram("Input.vsdx"); | |
// Create an instance of XAMLSaveOptions class | |
XAMLSaveOptions options = new XAMLSaveOptions(); | |
options.setSaveFormat(SaveFileFormat.XAML); | |
// Save the output XAML file | |
diagram.save("output.xaml", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment