## Shape::GetName method


Gets and sets the name of the shape.

```cpp
U16String Aspose::Cells::Drawing::Shape::GetName()
```


## Examples


```cpp
if (shape.GetName() == u"shape")
{
    shape.SetName(u"shape1");
}
```

## See Also

* Class [U16String](../../../aspose.cells/u16string/)
* Class [Shape](../)
* Namespace [Aspose::Cells::Drawing](../../)
* Library [Aspose.Cells for C++](../../../)
