Hello World Beispiel

Hello World Beispiel

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.

NachInstallation Aspose.Diagram for JavaIn Ihrer Umgebung können Sie das folgende Codebeispiel ausführen, um zu sehen, wie Aspose.Diagram API funktioniert.

Das folgende Code-Snippet folgt diesen Schritten:

  1. Instanziieren Sie ein Diagram-Objekt
  2. Verwenden Sie die Save-Methode des Klassenobjekts Diagram, um die Datei auf der Disc zu speichern

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