Aspose.PDF Cloud

Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs to image formats such as JPEG, PNG, GIF, BMP, TIFF and many others. Aspose.PDF Cloud helps you manipulate elements of a PDF file like text, annotations, watermarks, signatures, bookmarks, stamps and so on. Its REST API also allows you to manage PDF pages by using features like merging, splitting, and inserting. Add images to a PDF file or convert PDF pages to images.

Installing

You can install Aspose PDF Cloud SDK with RubyGem:

gem install aspose_pdf_cloud

Source files

This SDK is open source and available on GitHub and CodePlex.

Usage

APIs of this SDK can be called as follows:

require 'aspose_pdf_cloud'

class AsposePDFUsage

  include AsposePDFCloud
  include AsposeStorageCloud

  def initialize
    #Get App key and App SID from https://cloud.aspose.com
    AsposeApp.app_key_and_sid("APP_KEY", "APP_SID")
    @pdf_api = PDFApi.new  
  end

  def convert_document_to_tiff
    #Convert document from request content to tiff format.
    file_name = "Sample.pdf"
    response = @pdf_api.put_convert_document(File.open("data/" << file_name,"r") { |io| io.read }, {format: "tiff"})
  end

end

Aspose.PDF Cloud SDK Examples

Programmer’s Guide, a complete manual on programming with Aspose.PDF Cloud APIs. It holds the wealth of features with sample codes and capabilities.

Unit Tests

To help you get started we also provided unit test coverage to Aspose.PDF APIs.

Start a Free Trial Today

Start a free trial today – all you need is to [sign up][4] with Aspose Cloud service. Once you have signed up, you are ready to try powerful file processing features offered by Aspose Cloud.

[3]: http://www.aspose.com/docs/display/pdfcloud/Add+Text+Stamp+%28Watermark%29+to+a+PDF+Page “Add Text Stamp (Watermark [4]: http://dashboard.aspose.cloud/