PNG JPG BMP TIFF VDX
Aspose.Diagram  for Python

VDX File Viewer for Python

Native VDX document viewer using server-side Python APIs.

How to View VDX File Using Python

In order to view VDX file, we’ll use

Aspose.Diagram for Python

API which is a feature-rich, powerful and easy to use conversion API for Python platform. You can download its latest version directly from

Pypi

Steps to View VDX via Python

Aspose.Diagram makes it easy for the developers to view the VDX file with just few lines of code.

  1. Load VDX file with an instance of Diagram class
  2. Call the Diagram.save method with SaveFileFormat.HTML as parameters
  3. Load resultant HTML in default browser via Process.Start

System Requirements

Aspose.Diagram for Python is platform-independent API and can be used on any platform (Windows, Linux and MacOS), just make sure that system have Java 1.8 or higher, Python 3.5 or higher.

  • Install Java and add it to PATH environment variable, for example: PATH=C:\Program Files\Java\jdk1.8.0_131;.
  • Install Aspose.Diagram for Python from pypi, use command as: $ pip install aspose-diagram.
 

Python code to view VDX


// load VDX file via an instance of Diagram
diagram =  Aspose.Diagram.Diagram("template.vdx");
// convert VDX to HTML format then load resultant HTML in default browser
diagram.save(output, Aspose.Diagram.SaveFileFormat.HTML);
 
  • About Aspose.Diagram for Python API

    Aspose.Diagram is a Microsoft Visio document format manipulation API. One can easily load, create, modify, manipulate including daigram elements and convert Visio diagrams to other formats such as PDF, XPS, JPEG, PNG, BMP, TIFF, SVG, EMF and more. It is a standalone API and does not require Microsoft Visio or any other software to be installed.

    Free App to View VDX

    Check our live demos to View VDX with following benefits.

      No need to download or setup anything
      No need to write or compile code
      Just upload VDX file and hit the "View" button
      Download VDX file from the link, if required

    VDX What is VDX File Format?

    Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension. A Visio drawing XML file is created in Visio software, which is developed by Microsoft. Microsoft Visio has the capability to generate visual documents that can be used in presentations and documents. The Visio drawing XML file contains the visual objects and metadata details of the visual elements. Text can also be added to these visual elements Vision drawing XML file. These Visio drawing XML files are integrated with XML-based formatting standards and image data encoding specifications that allow its content to be rendered and stored by the Microsoft Visio software in the VDX file format.

    Read More

    Other Supported Viewer Formats

    Using Python, One can also view many other file formats including.

    VSD (Microsoft Visio Drawings)
    VSDM (Microsoft Visio Drawing Format)
    VSDX (Microsoft Visio Format)
    VSS (Stencil Files)
    VSSM (Microsoft Visio Stencil files)
    VSSX (Drawing Stencils)
    VST (Vector Image Files)
    VSTM (Microsoft Visio Template Files)
    VSTX (Microsoft Visio Drawing Template)
    VSX (Stencils)
    VTX (Microsoft Visio Drawing Template)