title: “Get a shape by index on an Excel worksheet” second_title: “Document” linktitle: “Get” type: docs url: /shapes/get/ aliases: [/get-a-shape-by-index-inside-the-worksheet/] keywords: “Get shape by index, Excel worksheet, Aspose.Cells Cloud, REST API, shape retrieval” description: “Retrieve a shape by its index from an Excel worksheet using Aspose.Cells Cloud REST API. Supports multiple SDKs and programming languages.” weight: 20
This REST API retrieves a shape (including its image data or metadata) from an Excel worksheet.
REST API
GET http://api.aspose.cloud/v3.0/cells/{name}/worksheets/{sheetName}/shapes/{shapeindex}
The request parameters are:
| Parameter Name | Type | Location | Description |
|---|---|---|---|
| name | string | path | Name of the Excel document. |
| sheetName | string | path | Name of the worksheet containing the shape. |
| shapeindex | integer | path | Zero‑based index of the shape within the worksheet. |
| folder | string | query | Folder path where the document 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 make a call 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 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: