.NET Microsoft Visio File Processing APIs
Generate, Edit, Manipulate and Transform Microsoft Visio diagrams to XPS, HTML, SVG, SWF, XAML, images or PDF formats.Download Free Trial
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. 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 formats.
Aspose.Diagram for .NET supports almost all native Visio file formats as well as some commonly used image & fixed-layout formats. This 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.
At A Glance
An overview of the capabilities of Aspose.Diagram for .NET.
- Create Visio Diagrams
- Add & Connect Shapes
- Group Shapes
- Protect Diagram/Shape
- Get Hyperlinks & Geoms
- Read/Create User-defined Cells
- Apply Style Sheet
- Page Level Comments
- Page Orientation & Layers
- Manipulate Ole Objects
- Manipulate ActiveX Controls
- Multi-Colored Shapes
- High Fidelity Printing
- Supports XpsPrint API
- XForm, Line & Fill Data
- Headers & Footers
- Icons & Pictures
- Solution XML
- Master, Page & Shape Elements
- Style Sheets
- User-defined Cells
- Shape Geometry
Aspose.Diagram for .NET supports .NET Framework starting from 2.0 & Mono. Moreover, it can be used with other languages via COM Interop.
Supported File Formats
Aspose.Diagram for .NET supported formats listed below.
- Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM
- Microsoft Visio: VDW, VSD, VSS, VST
- Fixed Layout: PDF, XPS
- Images: JPEG, PNG, BMP, TIFF, SVG, EMF
- Web: HTML
- Other: XAML, SWF
Advanced .NET Visio Files API Features
Read multiple Visio formats & specify fonts location.
Group multiple shapes
Configure Visio TimeLine shapes
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
Specify reviewer for creating comments in Diagram
Detect and remove unused Themes, data graphics and styles
Extract shape data on the basis of Dependson formula
Get all Props value for a Shape
Add NUBRS line support when exporting a drawing
Support of drawing Polyline and Bezier shapes
Render comments when saving as image or HTML
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 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.
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 diagrams using different options, with just a few lines of code. You can choose to print with default settings, print to a specific printer or 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.