## Timeline::GetCaption method


Gets or sets the caption of this [Timeline](../).

```cpp
U16String Aspose::Cells::Timelines::Timeline::GetCaption()
```


## Examples


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

## See Also

* Class [U16String](../../../aspose.cells/u16string/)
* Class [Timeline](../)
* Namespace [Aspose::Cells::Timelines](../../)
* Library [Aspose.Cells for C++](../../../)
