Aspose::Cells::Drawing::Shape::SetName method

Shape::SetName(const U16String&) method

Gets and sets the name of the shape.

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

Examples

U16String name = u"shape1";
if (shape.GetName() == u"shape")
{
    shape.SetName(name);
}

See Also

Shape::SetName(const char16_t*) method

Gets and sets the name of the shape.

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

Examples

if (shape.GetName() == u"shape")
{
    shape.SetName(u"shape1");
}

See Also