/aspose-diagram-cloud-ruby

Ruby SDK to communicate with Aspose.Diagram RESTful APIs. Create, Convert & Inspect Visio® files in the Cloud.

Primary LanguageRubyMIT LicenseMIT

Gem GitHub license

Ruby Cloud REST API for Visio Processing

Aspose.Diagram Cloud SDK for Ruby helps you develop Visio file manipulation applications with the help of Aspose.Diagram REST API. It allows your applications to work with Microsoft Visio Object Model in order to create the diagrams from scratch or convert diagrams to popular formats including PDF, HTML, images and other Visio formats.

Visio Processing Features

  • Convert diagrams to 20+ different file formats.
  • 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.

Please refer to Developer's Guide to see what else you can achieve.

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

Please refer to Developer's Guide to see what else you can achieve.

New Features in Version 20.3

  • Added support to:
    • Set page settings
    • Add an empty page
    • Get pages information
  • Added support to draw following objects on a page:
    • Polyline
    • Line
    • Ellipse

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

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. Next, execute gem install aspose_diagram_cloud to get the package from RubyGems.

Create a New VDX Format Diagram in Ruby

    # Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required).

	configuration = AsposeDiagramCloud::Configuration.new
	configuration.app_sid = "MY_CLIENT_ID"
	configuration.app_key = "MY_CLIENT_SECRET"
	configuration.grant_type = "client_credentials"

	api = AsposeDiagramCloud::DiagramApi.new(configuration)

	name = "sample.vdx"
	folder = "my_output"
	is_overwrite = true
	result = api.create_new(name, {:name=>name, :is_overwrite=>is_overwrite, :folder=>folder})

Aspose.Diagram Cloud SDKs in Popular Languages

.NET Java PHP Python Ruby Node.js Android Perl Swift
GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub GitHub
NuGet Maven Composer PIP GEM NPM Maven CPAN POD

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