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 (timeline.GetName().IsNull())
{
    U16String val = u"timeline name test";
    timeline.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 (timeline.GetName().IsNull())
{
    timeline.SetName(u"timeline name test");
}

See Also