Aspose.Cells Cloud API – Get Picture from Worksheet
Contents
[
Hide
]
This REST API retrieves a picture by its zero‑based index from an Excel worksheet.
REST API
GET https://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}
Request Parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the Excel document. |
| sheetName | string | path | Name of the worksheet. |
| pictureIndex | integer | path | Zero‑based index of the picture. |
| format | string | query | Desired export format (e.g., png, jpg, bmp, gif, tiff). If omitted, the picture is returned in its original format. |
| folder | string | query | Folder that contains the document. |
| storageName | string | query | Name of the storage location. |
Error Responses
| HTTP Code | Description |
|---|---|
| 401 | Unauthorized – missing or invalid token. |
| 404 | Not Found – the specified file, worksheet, or page‑break index does not exist. |
| 400 | Bad Request – malformed request syntax or invalid parameters. |
| 500 | Internal Server Error – an unexpected condition was encountered. |
The OpenAPI Specification defines a publicly accessible programming interface and lets you perform 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 call the Cloud API with cURL.
Cloud SDK Family
Using an SDK is the fastest way to develop. An SDK handles low‑level details so you can focus on your project. 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: