Aspose.Words Cloud

Aspose.Words Cloud, a cloud-based document creation, manipulation and conversion API, helps you process documents with its many flexible features. You can perform a wide variety of document operations with Aspose.Words Cloud’s REST API. Create a new document from scratch, modify an existing document, convert documents to different formats, and render the document to images. Aspose.Words Cloud allows you to convert documents to DOC, DOCX, XPS, TIFF, PDF, HTML, SWF, and many other formats. It lets you render a complete document or a single page to different image formats (JPEG, GIF, PNG, TIFF, and so on). Taking a step further, it lets you render drawing shapes in documents to images. Read More

Adding Aspose.Words Cloud to your project

• Cocoapods

CocoaPods is the recommended way to add AsposeWordsCloud to your project.

  1. Add a pod entry for AsposeWordsCloud to your Podfile
    pod 'AsposeWordsCloud'
    
  1. Install the pod(s) by running
    pod install
    
  1. Include AsposeWordsCloud wherever you need it with
    #import "ASPWordsApi.h"
    

• Source files

Alternatively you can directly add source files to your project.

  1. Download the latest code version from GitHub or CodePlex repository.
  2. Open your project in Xcode, then drag and drop words folder onto your project (use the “Product Navigator view”). Make sure to select Copy items when asked if you extracted the code archive outside of your project.
  3. Include AsposeWordsCloud wherever you need it with
    #import "ASPWordsApi.h"
    

Usage

An example is given below to give you a quick preview of how APIs of this SDK can be called.

/*Convert word document from request content to specified format*/

#import "ASPApiClient.h"
#import "ASPWordsApi.h"

//Get App key and App SID from https://cloud.aspose.com
[ASPApiClient setAppKey:@"" andAppSID:@""];

ASPWordsApi *wordsApi = [[ASPWordsApi alloc] init];

NSURL *pathToFile = [[NSBundle mainBundle] URLForResource:@"SampleWordDocument" 
                                           withExtension:@"docx"];

[self.wordsApi putConvertDocumentWithCompletionBlock:pathToFile 
               format:@"pdf" 
               outPath:nil
               replaceResourcesHostTo:nil
               completionHandler:^(NSURL *output, NSError *error) {
                   BOOL isFileExist = [[NSFileManager defaultManager] fileExistsAtPath:[output path]];
                   XCTAssertTrue(isFileExist, @"Failed to convert document from request content to specified format.");
}];

Aspose.Words Cloud SDK Examples

Programmer’s Guide, a complete manual on programming with Aspose.Words 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.Words APIs.

Start a Free Trial Today

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