Aspose::Cells::Drawing::Shape::SetTitle method

Shape::SetTitle(const U16String&) method

Specifies the title (caption) of the current shape object.

void Aspose::Cells::Drawing::Shape::SetTitle(const U16String &value)

Examples

U16String title = u"title1";
if (shape.GetTitle() == u"title")
{
    shape.SetTitle(title);
}

See Also

Shape::SetTitle(const char16_t*) method

Specifies the title (caption) of the current shape object.

void Aspose::Cells::Drawing::Shape::SetTitle(const char16_t *value)

Examples

if (shape.GetTitle() == u"title")
{
    shape.SetTitle(u"title1");
}

See Also