Create, Read, Write and Export Microsoft Visio Formats including VSDX, VDX, VSX, VTX and more formats using Python API.
Vendor
Aspose
Company Website
Aspose.Diagram for Python via Java is a Microsoft Visio document manipulation solution enabling developers to create, read, write, protect, export, and print native Visio formats directly from Python applications. The library supports a wide range of Visio formats, image formats, and fixed‑layout outputs. It allows loading existing Visio files, modifying diagram elements, and exporting the diagram into various output formats including images, PDF, or XPS—without requiring Microsoft Visio or any external software installation. As a standalone API, Aspose.Diagram for Python via Java provides tools for creating diagrams from scratch, reading and writing multiple Visio formats, accessing and reading Visio object properties (including formulas), configuring document properties, printing diagrams with high fidelity, and exporting diagrams to a wide range of image and document formats. It enables developers to automate Visio workflows completely from Python environments.
Features
Supported File Formats Input/Output:
- Microsoft Visio: VSDX, VDX, VSX, VTX, VSSX, VSTX, VSDM, VSSM, VSTM Input Only:
- Microsoft Visio: VDW, VSD, VSS, VST Output Only:
- Fixed Layout: PDF, XPS
- Images: JPEG, PNG, BMP, TIFF, SVG, EMF
- Others: XAML
Advanced Python Visio API Features
- Create diagrams from scratch
- Read multiple native Visio formats
- Read properties and formulas of diagram objects
- Write diagrams in various Visio formats
- Access and manipulate Visio elements including document, page, master, shape, stylesheet, and connect data
- Manipulate Visio document properties
- Protect or unprotect diagrams and shapes
- Print diagrams with high fidelity
- Export diagrams to PDF, XPS, and image formats
- Modify diagram structure including grouping shapes and adding new pages
- Organize and process Visio containers and shape groupings
- Work with shape layers, comments, hyperlinks, masters, and user-defined cells
- Support for viewing and manipulating complex diagram features such as formulas and ShapeSheet data
Benefits
- No Visio required: Works independently without Microsoft Visio, providing a fully standalone diagram processing engine.
- Comprehensive Visio format coverage: Supports modern and legacy Visio formats for broad compatibility.
- High‑quality export: Generate high-fidelity outputs in PDF, XPS, and popular image formats suitable for distribution or reporting.
- Flexible automation: Ideal for server-side automation, batch processing, and diagram conversion services.
- Python‑friendly: Leverages Java engine internally while providing a simple Python interface suitable for data processing and automation projects.
- Enterprise‑ready: Suitable for engineering diagrams, visual documentation, technical drawings, and workflow automation.