Aspose::Cells::Timelines::TimelineCollection::Get method

TimelineCollection::Get(int32_t) method

Gets the Timeline by index.

Timeline Aspose::Cells::Timelines::TimelineCollection::Get(int32_t index)

Examples

//Get the Timeline by index.
Timeline objByIndex = sheet.GetTimelines().Get(0);

See Also

TimelineCollection::Get(const U16String&) method

Gets the Timeline by Timeline’s name.

Timeline Aspose::Cells::Timelines::TimelineCollection::Get(const U16String &name)

Examples

//Get the Timeline by Timeline's name.
U16String val = u"date";
Timeline objByName = sheet.GetTimelines().Get(val);

See Also

TimelineCollection::Get(const char16_t*) method

Gets the Timeline by Timeline’s name.

Timeline Aspose::Cells::Timelines::TimelineCollection::Get(const char16_t *name)

Examples

    //Get the Timeline by Timeline's name.
Timeline objByName = sheet.GetTimelines().Get(u"date");

See Also