Hello World Example

Hello World Example

A “Hello World” example is traditionally used to introduce features of a programming language or software with a simple use case.

Aspose.Diagram for Java is a feature-rich Visio file processing API that allows application developers to embed Visio document creation, reading & conversion features in their Java applications. It supports working with many popular Visio file-formats including VSDX, VDX, VSD, VSX, VTX, VSSX, VSDM, VSSM, VSTM, VDW, VSS, and VST. The API has strong conversion features to convert Visio Diagrams to a number of formats such as PDF, HTML, XML, SVG, and XAML.

After installing Aspose.Diagram for Java in your environment, you can execute the below code sample to see how Aspose.Diagram API works.

Below code snippet follows these steps:

  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 Java API.