Aspose::Cells::Drawing::Shape::SetAlternativeText method
Shape::SetAlternativeText(const U16String&) method
Returns or sets the descriptive (alternative) text string of the Shape object.
void Aspose::Cells::Drawing::Shape::SetAlternativeText(const U16String &value)
Examples
U16String txt = u"a rectangle";
if (shape.GetAlternativeText() == u"rectangle")
{
shape.SetAlternativeText(txt);
}
See Also
- Class Vector
- Class U16String
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++
Shape::SetAlternativeText(const char16_t*) method
Returns or sets the descriptive (alternative) text string of the Shape object.
void Aspose::Cells::Drawing::Shape::SetAlternativeText(const char16_t *value)
Examples
if (shape.GetAlternativeText() == u"rectangle")
{
shape.SetAlternativeText(u"a rectangle");
}
See Also
- Class Vector
- Class Shape
- Namespace Aspose::Cells::Drawing
- Library Aspose.Cells for C++