Aspose.Slides Cloud
Aspose.Slides Cloud is a REST API which allows you to process presentations. It allows you to create, modify, and convert presentations and provides a wide variety of features for working with presentations in the cloud. You can convert a presentation to TIFF, PDF, XPS, PPTX, ODP, PPSX, PPTM, PPSM, POTX, POTM, HTML and image formats. Aspose.Slides Cloud allows you to extract different elements or a presentation including slide, text, color schemes, font schemes, shapes and images etc. Aspose.Slides Cloud’s powerful API lets your apps process Microsoft PowerPoint presentations in the cloud, saving you the time it would take to develop your own API.
Installing
You can install Aspose Slides Cloud SDK with RubyGem:gem install aspose_slides_cloud
Source files
This SDK is open source and available on GitHub and CodePlex.- Aspose.Slides Cloud SDK for Ruby – v1.0.0 (GitHub)
- Aspose.Slides Cloud SDK for Ruby – v1.0.0 (CodePlex)
Usage
APIs of this SDK can be called as follows:require 'aspose_slides_cloud'
class SlidesUsage
include AsposeSlidesCloud
include AsposeStorageCloud
def initialize
#Get App key and App SID from https://cloud.aspose.com
AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
@slides_api = SlidesApi.new
end
def put_slides_convert
#Convert presentation from request content to format specified.
file_name = "sample.pptx"
convert_to_format = "pdf"
response = @slides_api.put_slides_convert(File.open("data/" << file_name,"r") { |io| io.read }, {format: convert_to_format})
end
end
Aspose.Slides Cloud SDK Examples
Programmer’s Guide, a complete manual on programming with Aspose.Slides Cloud APIs. It holds the wealth of features with sample codes and capabilities.- Create Empty PowerPoint Presentation
- Convert PowerPoint Documents to other File Formats
- Merge PowerPoint Presentations
- Split PowerPoint Presentations
- Extract Shapes from a Slide
- Get Number of Images in a Presentation
- Replace All Text Instances in a Presentation
- Set Document Property
- Save a PowerPoint Slide as Image with Default Size
- Get Color Scheme of a PowerPoint Slide
- Get Font Scheme of a PowerPoint Slide
- Add a New Slide in a PowerPoint Presentation
- Copy Slides in a PowerPoint Presentation
- Change Position of Slides in a PowerPoint Presentation