No release in over 3 years
Low commit activity in last 3 years
AsposeDiagramJava is a Ruby gem that helps to create, load, save and manipulate Microsoft Visio drawings using Aspose.Diagram for Java libraries
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
>= 0

Runtime

~> 1.5.2
 Project Readme

GitHub release (latest by date) GitHub all releases GitHub

Java API for Microsoft Visio® File Formats

Aspose.Diagram for Java API is a solution for Microsoft Visio file manipulation requirements. It allows the Java applications to read, write, export and process Microsoft Visio diagrams while supporting all Visio objects & properties including shapes, pages, images, shape masters, stencils, text, layers, header, footers, user-defined cells, hyperlinks, file protection, geometries, text boxes, and comments.

Aspose.Diagram for Java can also be used to apply protection to the Microsoft Visio drawings by locking backgrounds, stencils (master) as well as shapes and styles to avoid any accidental amendments.

Directory Description
Examples A collection of Java examples that help you learn the product features.
Plugins Plugins that will demonstrate one or more features of Aspose.Diagram for Java.

Visio File Processing Features

  • Load, create, save and convert Microsoft Visio diagrams.
  • Create Master from sctrach or add from Stencil of Shapes.
  • Create, Layout and Auto-Fit Shapes as well as retrieve Visio Connectors and Font Information.
  • Modify Geometry Section of a Connector Shape.
  • Insert an ActiveX Control in the Visio Diagram.
  • Printing to specific printer or set printer and document name.

Read & Write Visio Formats

Microsoft Visio: VSDX, VSX, VTX, VDX, VSSX, VSTX, VSDM, VSSM, VSTM

Save Visio Diagrams As

Fixed Layout: PDF, XPS
Images: JPEG, PNG, BMP, TIFF, SVG, EMF
Web: HTML
Other: XAML, SWF

Read Visio Formats

Microsoft Visio: VDW, VSD, VSS, VST

Supported Environments

  • Microsoft Windows: Windows Desktop & Server (x86, x64)
  • macOS: Mac OS X
  • Linux: Ubuntu, OpenSUSE, CentOS, and others
  • Java Versions: J2SE 7.0 (1.7), J2SE 8.0 (1.8)

Get Started with Aspose.Diagram for Java

Aspose hosts all Java APIs at the Aspose Repository. You can easily use Aspose.BarCode for Java API directly in your Maven projects with simple configurations. For the detailed instructions please visit Installing Aspose.Diagram for Java from Aspose Repository documentation page.

Auto-fit Visio Diagram using Java

// For complete examples and data files, please go to https://github.com/aspose-diagram/Aspose.Diagram-for-Java
// The path to the documents directory.
String dataDir = Utils.getDataDir(AutoFitShapesInVisio.class);

// load a Visio diagram
Diagram diagram = new Diagram(dataDir + "BFlowcht.vsdx");

// use saving options
DiagramSaveOptions options = new DiagramSaveOptions(SaveFileFormat.VSDX);

// set Auto fit page property
options.setAutoFitPageToDrawingContent(true);

// save Visio diagram
diagram.save(dataDir + "AutoFitShapesInVisio_Out.vsdx", options);

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Search | Free Support | Temporary License