Python Visio Files API
Create, Read, Write and Export Microsoft Visio Formats including VSDX, VDX, VSX, VTX and more formats using Python API.Download Free Trial
Aspose.Diagram for Python via .Net is a Microsoft Visio document manipulation solution. One can read, write, protect, export and print native Visio formats as well as supports some commonly used image and fixed-layout formats. Its easy to load existing files, modify the diagram elements to export into desired format including images or fixed-layout formats such as PDF or XPS.
Aspose.Diagram for Python via .Net is a standalone API and does not require Microsoft Visio or any other software installation. Moreover, few tasks that one can perform easily like create diagrams from scratch, read or write various formats, access and read the properties including Visio object formulas, exporting diagrams to multiple formats, print diagrams with high fidelity, and much more.
At a Glance
An overview of Aspose.Diagram for Python via .Net capabilities.
- Create Diagrams
- Read Visio Formats
- Write Visio Files
- Export Diagrams
- Secure Diagrams
- Access and read properties
- High Fidelity Printing
Aspose.Diagram for Python via .Net is available for.
Supported File Formats
Aspose.Diagram for Python via .Net supports popular Microsoft Visio formats and more.
- Microsoft Visio: VSDX, VDX, VSX, VTX, VSSX, VSTX, VSDM, VSSM, VSTM
- Microsoft Visio: VDW, VSD, VSS, VST
- Fixed Layout: PDF, XPS
- Images: JPEG, PNG, BMP, TIFF, SVG, EMF
- Others : XAML
Advanced Python Visio API Features
Create diagrams from scratch
Read multiple Visio formats
Read the properties of different objects
Write various Visio formats
Manipulate document properties
Print diagrams with high fidelity
Protect or unprotect diagrams & shapes
Export diagrams to different formats
Create Visio Documents from Scratch
Aspose.Diagram for Python is simple and easy to use. It lets users to work with diagrams without any understanding of underlying format like one can create VSDX files from scratch with just few lines of code.
Create VSDX format from Scratch using Python
diagram = Diagram() diagram.save("output.vsdx", SaveFileFormat.VSDX)
Access and Manipulate Visio Files
Python diagram API permits to read native Microsoft Visio formats as well as provide access to the diagram data like document, page, master, shape, stylesheet, connect and so on. These objects can be manipulated through the API, and the result can be written to disk in any of the supported formats.
Export to Images
Developers can easily load Visio files and export them to popular images including PNG, TIFF, JPEG, BMP, SVG and EMF. Python library also supports exporting Visio files to PDF & XPS formats with the highest fidelity.
Export Page of Visio VSDX File to PNG Format
diagram = Diagram("test.vsdx") // Save diagram as PNG options = ImageSaveOptions(SaveFileFormat.PNG) // Save one page only, by page index options.setPageIndex(0) // Save resultant Image file diagram.save("output.png", options)
Support and Learning Resources
- Learning Resources
- API References
- Tutorial Videos
- Product Support
- Free Support
- Paid Support
- Why Aspose.Diagram for Python via .Net?
- Customers List
- Success Stories
Aspose.Diagram offers individual Visio APIs for other popular development environments as listed below: