Hello World Example

Hello World Example

Aspose.Diagram for .NET has rich features to create, open, edit and convert Microsoft Visio files using C# and other .NET languages. It supports a wide set of Visio file formats including VSDX, VDX, VSD, VSX, VTX, VSSX, VSDM, VSSM, VSTM, VDW, VSS, and VST. In addition, it provides the capability to convert Visio Diagrams to a number of formats such as PDF, HTML, XML, SVG, and XAML.

After installing Aspose.Diagram for .NET in your environment, the following steps can be used to see how Aspose.Diagram API is utilized in .NET applications.

  1. Instantiate a Diagram object
  2. Use the Save method of Diagram class object to save the file to disc

The following code snippet is a Hello World program to exhibit the working of Aspose.Diagram for .NET API.