Update picture in an Excel file

This REST API updates a picture, identified by its index, on an Excel worksheet.

REST API

POST http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/pictures/{pictureIndex}

Request parameters

Parameter Name Type Location Description
name string path The name of the Excel document.
sheetName string path The name of the worksheet that contains the picture.
pictureIndex integer path Zero‑based index of the picture to be updated.
picture object body JSON object that describes the picture properties to update.
folder string query The folder where the document is stored.
storageName string query The name of the storage service.

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 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 a call to 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 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: