Aspose.Diagram   for Node.js via Java

Node.js Visio Files API

Create, Read, Write and Export Microsoft Visio Formats including VSDX, VDX, VSX, VTX and more formats using Node.js API.

  Download Free Trial
  
 

Aspose.Diagram for Node.js via Java 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 Node.js via Java 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.

Advanced Node.js 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 Node.js 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 Node.js

var aspose = aspose || {};

aspose.diagram = require("aspose.diagram"); 

var diagram = new aspose.diagram.Diagram();

diagram.save("output.vsdx", aspose.diagram.SaveFileFormat.VSDX);

Access and Manipulate Visio Files

Node.js 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. Nodejs library also supports exporting Visio files to PDF & XPS formats with the highest fidelity.

Export Page of Visio VSDX File to PNG Format

diagram = new aspose.diagram.Diagram("template.vsdx"); 

// Save diagram as PNG

options = new aspose.diagram.ImageSaveOptions(aspose.diagram.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

  
  

Aspose.Diagram offers individual Visio APIs for other popular development environments as listed below: