Convert OLE Object to Image – Aspose.Cells Cloud REST API
Contents
[
Hide
]
This REST API retrieves an OLE object in a specified format from an Excel worksheet.
REST API – Convert OLE Object to Image
GET http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/oleobjects/{objectNumber}?format={format}
Request Parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The name of the workbook file. |
| sheetName | string | path | The name of the worksheet containing the OLE object. |
| objectNumber | integer | path | The zero‑based index of the OLE object. |
| format | string | query | Desired export format (e.g., png, jpeg). |
| folder | string | query | Path to the folder where the workbook is stored. |
| storageName | string | query | Name of the storage service. |
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 call the Cloud API with cURL.
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 400 | InvalidParameter |
One or more request parameters are invalid. |
| 401 | AuthenticationFailed |
Missing or invalid JWT token. |
| 404 | PropertyNotFound |
The specified document property does not exist. |
| 500 | InternalError |
An unexpected error occurred on the server. |
Cloud SDK Family
Use an SDK to speed up development. An SDK handles low‑level details and lets you 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: