Skip to main content

A powerful library for working with Microsoft Visio files VDX, VSD,VSDX,VSSX,VSTX, VTX, XPS, HTML, SVG

Project description

Aspose.Diagram for Python via Java is a scalable and feature-rich API to process visio files using Python. API offers Visio file creation, manipulation, conversion, & rendering. Developers can format pages to the most granular level, create & manipulate shape, render pages, shapes to PDF & images, and much more - all without any dependency on Microsoft Office or Visio application.

Python Visio API Features

  • Create visio files via API.

  • Convert shapes to images or PDF.

  • Manage comments & hyperlinks.

  • Convert pages to PDF, XPS & SVG formats.

  • Inter-convert files to popular visio formats.

Read Visio Files

Microsoft Visio:VSD,VSS,VST,VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM

Save Visio Files As

Microsoft Visio: VSX,VTX, VDX, VSDX, VSTX, VSSX, VSTM, VSSM Fixed Layout: PDF, XPS Images: JPEG, PNG, BMP, SVG, TIFF, GIF, EMF Web: HTML

Create Visio File from Scratch using Python

import jpype
import asposediagram
jpype.startJVM()
from asposediagram.api import *

diagram = Diagram()
diagram.save("output.vsdx", SaveFileFormat.VSDX)

jpype.shutdownJVM()

Convert Visio VSDX File to PDF using Python

import jpype
import asposediagram
jpype.startJVM()
from asposediagram.api import *

diagram = Diagram("input.vsdx")
diagram.save("output.pdf",SaveFileFormat.PDF)

jpype.shutdownJVM()

Product Page | Documentation | Blog | API Reference | Code Samples | Free Support | Temporary License | EULA

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aspose-diagram-24.7.0.tar.gz (3.5 MB view hashes)

Uploaded Source

Built Distribution

aspose_diagram-24.7.0-py3-none-any.whl (3.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page