Hello World Exemple
Hello World Exemple
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.
Aprèsinstallation Aspose.Diagram for Javadans votre environnement, vous pouvez exécuter l’exemple de code ci-dessous pour voir comment Aspose.Diagram API fonctionne.
L’extrait de code ci-dessous suit ces étapes :
- Instancier un objet Diagram
- Utilisez la méthode Save de l’objet de classe Diagram pour enregistrer le fichier sur le disque
The following code snippet is a Hello World program to exhibit the working of Aspose.Diagram for Java API.