.NET API to manipulate Microsoft Visio® files

Create, edit, manipulate and transform Microsoft Visio® diagrams to XPS, HTML, SVG, SWF, XAML, images or PDF formats within any .NET application.

  Download Free Trial
Aspose.Diagram for .NET

Aspose.Diagram for .NET

 
 

Aspose.Diagram for .NET is a specialized API designed to work with Microsoft Visio files. It allows developers to create, manipulate & convert native Visio file formats from within ASP.NET web applications, web services, Windows applications and Mono. Developers can create diagrams from scratch as well as easily load existing files and manipulate the elements of the diagram to export the result in other Visio formats, images or fixed-layout formats.

This .NET Diagram API is an alternative to the Microsoft Visio Object Model and provides better performance. It makes use of the advanced functionality of Visio Services to manipulate Visio documents on a server. The API is extensible, easy to use, compact and provides common functionality so that developers have to write less code when performing common tasks.

 

Advanced Diagram API Features

 

 

Read multiple Visio formats

 

Group multiple shapes

 

Configure Visio TimeLine shapes

 

Specify fonts location

 

Read properties of different objects of the diagram

 

Save diagrams as XML or XAML

 

Manipulate Visio document properties

 

Print Visio diagram on a server via XpsPrint API

 

Rotate a shape at any angle

 

Add comments to Visio drawings

 

Insert a new blank page into a Visio drawing

 

Print Visio diagrams with high fidelity

Simple, Fast & Reliable Conversion of Visio Files

Companies generate technical diagrams in Microsoft Visio and would like to be able to share this information. The problem, however, is that the common users would not be able to load such visuals unless they have installed Microsoft Visio or some other tool that could load Visio specific file formats. One of the ways of solving this problem is converting the Visio diagrams to universal formats such as PDF, HTML & raster images, which do not require special programs to be installed on the machine.

Aspose.Diagram for .NET has its own conversion engine, which works independently of any other software, and can convert any supported Visio file format to any of the supported format with just a few lines of code. The conversion process is quick yet reliable, offering you the high fidelity results regardless of the resultant file format.

Save diagram in different formats - C#

// load file to be converted
var diagram = new Aspose.Diagram.Diagram(dir + "template.vsdx");
// convert to other formats
diagram.Save(dir + "output.pdf", Aspose.Diagram.SaveFileFormat.PDF);
diagram.Save(dir + "output.html", Aspose.Diagram.SaveFileFormat.HTML);
diagram.Save(dir + "output.jpg", Aspose.Diagram.SaveFileFormat.JPEG);

Manipulate Microsoft Visio Diagrams

Aspose.Diagram for .NET API allows to read Microsoft Visio files in native VSD/VSDX format as well as other Visio formats including VSS, VST, VSX, VTX, VDW, VDX, VSSX, VSTX, VSDM, VSSM and VSTM. The contents of the diagram can be manipulated through the Aspose.Diagram API. After making the required changes to the Visio file, the file can then be written to disk in any of the supported formats.

Render Visio Formats to Images, PDF & XPS

Using Aspose.Diagram for .NET, developers can open Visio files and export them to popular image formats including BMP, JPEG, PNG, TIFF, SVG and EMF. The API also provides the ability to export Visio files to PDF & XPS formats with high fidelity.

Access Data from Visio Diagrams

Aspose.Diagram for .NET allows developers to easily read the data of the Visio diagram like Document Properties, Pages, Masters, Shapes, Images, Connects, Solution XML, Comments, Hyperlinks, StyleSheet, Layers, User-defined cells and so on.

Print Diagrams with Ease

Aspose.Diagram for .NET allows to print a document using various different options, with just a few lines of code. You can choose to print using default settings, print to a specific printer and choose to print a range of pages.

Print diagrams on physical printer - C#

// load file to be printed
var diagram = new Aspose.Diagram.Diagram(dir + "template.vsdx");
// print to default printer
diagram.Print();
// print while specifying printer name & print job
diagram.Print("LaserJet1100", "Job Name");

Microsoft Office Automation – Not Needed

Aspose.Diagram for .NET is built using managed code that never needs Microsoft Office or Microsoft Visio to be installed on the machine to work with Visio files processing. It is a perfect Microsoft Office Visio automation alternative in terms of supported features, security, stability, scalability, speed and price.

 

Support and Learning Resources

 

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