[]
Gets the position of an XLShape object in the collection.
public int IndexOf(XLShape shape)
| Type | Name | Description |
|---|---|---|
| XLShape | shape | XLShape object to look for. |
| Type | Description |
|---|---|
| int | The position of the object in the collection, or -1 if the object is not a member of the collection. |
Gets the position of an XLShape object in the collection.
public int IndexOf(int id)
| Type | Name | Description |
|---|---|---|
| int | id | The identifier of the object to look for. |
| Type | Description |
|---|---|
| int | The position of the object in the collection, or -1 if the object is not a member of the collection. |