Aspose.HTML Cloud – Cloud SDKs

The REST API supports a set of converting between formats. You can take a source document from cloud storage or a local file system. The following conversions are available:

SDK example of HTML to PDF conversion

Convert an HTML document fast and easy with our intuitive API just with a few lines of code. Let’s review the common usage scenario when HTML is stored at a local drive, and you want to convert it to PDF format and save to the storage.

1// Initialize SDK API
2var api = new HtmlApi("CLIENT_ID", "CLIENT_SECRET").ConvertApi;
3
4// Convert HTML to PDF
5var result = await api.ConvertAsync("test.html", "test.pdf");

Also, our REST API provides capabilities to manipulate files that are stored in the cloud storage associated with user applications, such as: