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

Timeline::SetCaption(const U16String&) method

Gets or sets the caption of this 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(timeline.GetCaption().IsNull())
{
    timeline.SetCaption(val);
}

See Also

Timeline::SetCaption(const char16_t*) method

Gets or sets the caption of this Timeline.

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

Examples

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

See Also