---
title: "ShapeCollection.Find"
url: "https://reference.aspose.com/cells/net/aspose.cells.drawing/shapecollection/find/"
product: "Aspose.Cells for .NET API Reference"
description: "ShapeCollection method. Find shape by text"
---

## ShapeCollection.Find method

Find shape by text

```csharp
public int Find(string what, int previous, FindOptions findOptions)
```

| Parameter | Type | Description |
| --- | --- | --- |
| what | String | The text to search for. |
| previous | Int32 | The index of previous shape contains same text. -1 if searching from the start. |
| findOptions | FindOptions | Find options |

### Return Value

The index of found shape, -1 if no shape is found.

### See Also

* class [FindOptions](../../../aspose.cells/findoptions/)
* class [ShapeCollection](../)
* namespace [Aspose.Cells.Drawing](../../../aspose.cells.drawing/)
* assembly [Aspose.Cells](../../../)


