Add an OLE object in an Excel worksheet
Contents
[
Hide
]
This REST API adds an OLE object to an Excel worksheet.
REST API
PUT http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/oleobjects
Request parameters
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | The workbook file name. |
| sheetName | string | path | The worksheet name. |
| oleObject | object | body | The OLE object definition. |
| upperLeftRow | integer | query | Row index of the upper‑left corner (default 0). |
| upperLeftColumn | integer | query | Column index of the upper‑left corner (default 0). |
| height | integer | query | Height of the OLE object (default 0). |
| width | integer | query | Width of the OLE object (default 0). |
| oleFile | string | query | Name of the OLE source file. |
| imageFile | string | query | Name of the preview image file. |
| folder | string | query | Folder that contains the workbook. |
| storageName | string | query | Name of the storage to use. |
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 call Aspose.Cells web services. The example below demonstrates how to add an OLE object with cURL.
Cloud SDK Family
Using an SDK speeds up development. An SDK abstracts low‑level details, allowing you to focus on your business logic. See 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: