Excel to PNG
Contents
[
Hide
]
This REST API converts a spreadsheet file to PNG format.
Query Parameter
| Parameter Name | Type | Description |
|---|---|---|
| password | string | The password required to open the Excel file. |
| storageName | string | The name of the storage where the file is located. |
| checkExcelRestriction | bool | Determines whether to check Excel file restrictions when modifying cells or related objects. |
Request Body Parameter
| Parameter Name | Type | Description |
|---|---|---|
| datafile | data file | The spreadsheet file included in the first part of the multipart request. |
Response
REST API Specification
| API | Type | Description | Swagger Link |
|---|---|---|---|
| /cells/convert/png | POST | Convert a spreadsheet to a PNG file. | PostConvertWorkbookToPNG |
The OpenAPI Specification defines a publicly accessible programming interface and lets you carry out REST interactions directly from a web browser.
You can use the cURL command‑line tool to access Aspose.Cells web services easily. The following example shows how to make calls to the Cloud API with cURL.
Cloud SDK Family
Using an SDK is the best way to speed up development. An SDK handles low‑level details so you can 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 call Aspose.Cells web services using various SDKs:
Other APIs Implementing Similar Functions
- POST /cells/{name}/saveAs – Saves an Excel file as CSV (or other formats) with additional settings and stores the result.
- PUT /cells/convert – Converts an Excel file to CSV (or other formats) with optional parameters and returns the result in the response.
- GET /cells/{name} – Retrieves an Excel file and can convert it to CSV (or other formats) on the fly.