Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aspose-com-gists/aa3c15d1e8cbb305910f87ce02463dec to your computer and use it in GitHub Desktop.
Save aspose-com-gists/aa3c15d1e8cbb305910f87ce02463dec to your computer and use it in GitHub Desktop.
Convert Visio to XAML in Python
# This code sample demonstartes how to convert a Visio file to an XAML format in Python.
import aspose.diagram
from aspose.diagram import *
# Load an existing Visio Diagram
diagram = Diagram("sample.vsdx")
# Save diagram in the XAML format
diagram.save("Visio_Converted.xaml", SaveFileFormat.XAML)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment