You can find more details at: Convert VSD or VSDX File to VTX in C#
Last active
May 20, 2022 20:43
-
-
Save aspose-com-gists/472aab7ad3692c049b18216df47877d5 to your computer and use it in GitHub Desktop.
Convert VSD VSDX to VTX Visio Diagram File in C# .NET
This file contains hidden or 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 the input Visio diagram | |
Diagram diagram = new Diagram("Input.vsd"); | |
// Create an object of the DiagramSaveOptions class | |
DiagramSaveOptions options = new DiagramSaveOptions(); | |
options.SaveFormat = SaveFileFormat.Vtx; | |
// Save the output VTX file | |
diagram.Save("Output.vtx", options); |
This file contains hidden or 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 the input Visio diagram | |
Diagram diagram = new Diagram("Input.vsdx"); | |
// Create an object of the DiagramSaveOptions class | |
DiagramSaveOptions options = new DiagramSaveOptions(); | |
options.SaveFormat = SaveFileFormat.Vtx; | |
// Save the output VTX file | |
diagram.Save("Output.vtx", options); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment