Aspose.Diagram for Java Examples
Branch: master
Clone or download
farhan-raza Revamped for latest version
Revamped with several updates
Latest commit 493e7fc Jan 28, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Plugins All old links are updated Mar 29, 2017

Aspose.Diagram for Java Repository

This repository contains Java Example Projects for Aspose.Diagram for Java.

How to use the Examples?

With IDE

Clone or Download the ZIP and extract the contents to your local hard drive. If you have IntelliJ IDEA, then open the project directly by browsing to the folder. For Netbeans and Eclipse, you can import project feature.

Also download the latest version of Aspose.Diagram for Java and set/fix jar references.

Open Source Feel of Aspose.Diagram

Aspose.Diagram for Java is a successful commercial product, but our philosophy is to develop it using our unique "open-source feel" approach. In other words, we at Aspose are extremely customer driven and this shows in:

  • Frequent releases (at least 1 a month).
  • Features are prioritized according to your requests.
  • Unlimited free technical support for anyone.
  • Helpful support in the forums and answers within 12-24 hours.
  • Live chat with experienced technical advisors.

We think that customers who use our products feel that they use an open source product because of the extent they can influence the project, but with the security of a fully committed talented team working on the project.

The Aspose.Diagram for Java examples published here at GitHub is a part of the above effort.

What's included in this examples repository?


Each example is runnable Java class with its own main method. You can run each example separately and see its output. Please change the path variables to correct folders on your hard drive before running the examples.

CreateNewDiagramIt Demonstrates, how to create a Visio diagram from scratch and add shapes.
AddShapeIt demonstrates, how to add a new shape in Visio diagram.
ImageRenderingIt demonstrates, how to render Visio diagrams to image formats.
PDFRenderingIt demonstrates, how to render Visio diagrams to PDF format.
XMLRenderingIt demonstrates, how to render Visio diagrams to Visio XML formats.
XPSRenderingIt demonstrates, how to render Visio diagrams to XPS format.
Export Diagram to SVGIt demonstrates, how to render Visio diagrams to SVG format.
Export Diagram to SWFIt demonstrates, how to render Visio diagrams to SWF format.
Export Diagram to XPSIt demonstrates, how to render Visio diagrams to XPS format.
Layout Shapes AutomaticallyIt demonstrates, how to layout shapes into the several styles automatically.
Protect and Unprotect DiagramsIt demonstrates, how to protect and unprotect visio diagrams.
Search and Replace TextIt demonstrates, how to search text and replace it with new text.
Rotate ShapeIt demonstrates, how to rotate visio shape in degree.
Change Shape PositionIt demonstrates, how to change the shape's position.

Contact Us