Aspose::Cells::Drawing::Shape::SetText method
Shape::SetText(const U16String&) method
Gets and sets the text of this shape.
void Aspose::Cells::Drawing::Shape::SetText(const U16String &value)
Examples
U16String val = u"This is a test.";
if (shape.GetText().IsNull())
shape.SetText(val);
See Also
- Class Vector
- Class U16String
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++
Shape::SetText(const char16_t*) method
Gets and sets the text of this shape.
void Aspose::Cells::Drawing::Shape::SetText(const char16_t *value)
Examples
if (shape.GetText().IsNull())
shape.SetText(u"This is a test.");
See Also
- Class Vector
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++