Ruby Cloud REST API for Visio Processing

This cloud SDK enables your Ruby cloud apps to create & process Visio diagrams from within your apps without installing Microsoft Visio.

Visio Processing Features

  • Retrieve document information of a Visio diagram.
  • Programmatically create a new Microsoft Visio diagram file.
  • Convert Visio flow-charts to other supported formats.
  • Upload your business oriented Visio diagrams to cloud storage.
  • Export Visio files to raster images, fixed-layout and HTML formats.

New Features in Version 20.3

Added support to draw following objects on a page:

  • Polyline
  • Line
  • Ellipse

Added support to:

  • Set page setting
  • Add new empty page
  • Get pages info

For the detailed notes, please visit Aspose.Diagram Cloud 20.3 Release Notes.

Read & Write Visio Formats

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

Save Visio 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

Getting Started with Aspose.Diagram Cloud SDK for Ruby

You do not need to install anything to get started with Aspose.Diagram Cloud SDK for Ruby. All you need to do is create an account at Aspose for Cloud and get your application information.

Please check the GitHub Repository for other common usage scenarios.

Usage

Please, add the following gem to your project.

gem install aspose_diagram_cloud

Aspose Cloud-hosted service VS on-premise deployment (experimental feature)

Starting from v19.10, you can choose either to use Aspose Cloud-hosted image processing service (the standard way) or the Docker image from Docker Hub deployed on-premise to serve the requests. The details about key differences and deployment process will be described on the dedicated Docker Hub page as soon as it's released.

To succeed with your on-premise service usage by the SDK, you need to:

  • Use the new API class constructor with grantType parameter, clientId and clientSecret parameters.

    $diagramApi = AsposeDiagramCloud::DiagramApi.new($grant_type,$client_id,$client_secret)
    
  • Set storage or storageName parameters for each request where they're present (mandatory!).

Licensing

All Aspose.Diagram Cloud SDKs, helper scripts and templates are licensed under MIT License.

Product Page | Documentation | Live Demo | API Reference | Code Samples | Blog | Free Support | Free Trial