## Shape::GetAlternativeText method


Returns or sets the descriptive (alternative) text string of the [Shape](../) object.

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


## Examples


```cpp
if (shape.GetAlternativeText() == u"rectangle")
{
    shape.SetAlternativeText(u"a rectangle");
}
```

## See Also

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