Metadata-Version: 2.1
Name: aspose-diagram
Version: 25.1.0
Summary: A powerful library for working with Microsoft Visio files VDX, VSD,VSDX,VSSX,VSTX, VTX, XPS, HTML, SVG
Home-page: https://products.aspose.com/diagram/python-java
Author: Aspose
Author-email: diagram@aspose.com
Keywords: Visio,VSD,VDX,VSDX,VDW,to,PDF,JPG,PNG,HTML,SVG,XPS,VSTX,VSSX
Platform: Operating System :: MacOS :: MacOS X
Platform: Operating System :: Microsoft :: Windows :: Windows 7
Platform: Operating System :: Microsoft :: Windows :: Windows Vista
Platform: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.5
Classifier: License :: Other/Proprietary License
Requires-Python: >=3.5
Description-Content-Type: text/x-rst

Python Visio API
================

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
-------------------------------------------

.. code:: 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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code:: 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 <https://products.aspose.com/diagram/python-java>`__ \|
`Documentation <https://docs.aspose.com/display/diagrampythonjava/Home>`__
\| `Blog <https://blog.aspose.com/category/diagram/>`__ \| `API
Reference <https://apireference.aspose.com/diagram/python>`__ \| `Code
Samples <https://github.com/aspose-diagram/Aspose.Diagram-for-Java>`__
\| `Free Support <https://forum.aspose.com/c/diagram>`__ \| `Temporary
License <https://purchase.aspose.com/temporary-license>`__ \|
`EULA <https://company.aspose.com/legal/eula>`__
