Advanced Convert Excel File – Aspose.Cells Cloud API Guide
Contents
[
Hide
]
Advanced Cloud API for Excel Conversion
The Advanced Convert operation enables you to transform an Excel workbook into various output formats (PDF, HTML, CSV, etc.) while giving you fine‑grained control over page setup, save options, and print settings.
API Reference
- Method:
PUT - Endpoint:
/cells/convert - Parameters:
format(string, required) – Desired output format (e.g.,pdf,html).outPath(string, optional) – Path in cloud storage where the converted file will be saved.options(object, optional) – JSON object containing advanced conversion options such aspageSetup,saveOptions, andprintSettings.
- Request Body Example:
{ "format": "pdf", "outPath": "output/converted.pdf", "options": { "pageSetup": { "orientation": "Landscape", "paperSize": "A4" }, "saveOptions": { "compress": true }, "printSettings": { "printHeadings": false } } } - Response:
200 OK– Conversion succeeded; response contains the converted file stream or a reference to the saved file.400 Bad Request– Invalid parameters or malformed request body.401 Unauthorized– Authentication failed or token missing.500 Internal Server Error– Server‑side error during conversion.
The ability to load spreadsheet files from multiple data sources
Set Page Setup and Save Options
Cloud SDK Family
Using an SDK helps accelerate development by handling low‑level details, allowing you to focus on your project tasks. Please check out the GitHub repository for a complete list of Aspose.Cells Cloud SDKs.
The following code examples demonstrate how to make calls to Aspose.Cells web services using various SDKs: