Aspose::Cells::Timelines::Timeline::SetCaption method

Timeline::SetCaption(const U16String&) method

Returns or sets the caption of the specified Timeline.

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

Examples

//Set the caption of the specified Timeline.
U16String val = u"timeline caption test";
if(timelineObj.GetCaption().IsNull())
{
    timelineObj.SetCaption(val);
}

See Also

Timeline::SetCaption(const char16_t*) method

Returns or sets the caption of the specified Timeline.

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

Examples

    //Set the caption of the specified Timeline.
if (timelineObj.GetCaption().IsNull())
{
    timelineObj.SetCaption(u"timeline caption test");
}

See Also