Aspose::Cells::Timelines::Timeline::SetName method

Timeline::SetName(const U16String&) method

Returns or sets the name of the specified Timeline.

void Aspose::Cells::Timelines::Timeline::SetName(const U16String &value)

Examples

//Set the name of the specified Timeline.
if (timelineObj.GetName().IsNull())
{
    U16String val = u"timeline name test";
    timelineObj.SetName(val);
}

See Also

Timeline::SetName(const char16_t*) method

Returns or sets the name of the specified Timeline.

void Aspose::Cells::Timelines::Timeline::SetName(const char16_t *value)

Examples

//Set the name of the specified Timeline.
if (timelineObj.GetName().IsNull())
{
    timelineObj.SetName(u"timeline name test");
}

See Also