You can find all the details at: Convert Visio VSD or VSDX to XAML in C#
Last active
March 29, 2022 22:53
-
-
Save aspose-com-gists/3d89cf6bdf9e645daf99a46b9cfede3e to your computer and use it in GitHub Desktop.
Convert Visio VSD VSDX to XAML Programmatically in C# .NET
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.SaveFormat = 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.SaveFormat = 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