## Shape::GetText method


Gets and sets the text of this shape.

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


## Examples


```cpp
if (shape.GetText().IsNull())
    shape.SetText(u"This is a test.");
```

## See Also

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