Aspose::Cells::Slicers::SlicerCollection::Get method

SlicerCollection::Get(int32_t) method

Gets the Slicer by index.

Slicer Aspose::Cells::Slicers::SlicerCollection::Get(int32_t index)

Examples

Slicer slicerByIndex = slicers.Get(0);

See Also

SlicerCollection::Get(const U16String&) method

Gets the Slicer by slicer’s name.

Slicer Aspose::Cells::Slicers::SlicerCollection::Get(const U16String &name)

Examples

U16String val = u"fruit";
Slicer slicerByName = slicers.Get(val);

See Also

SlicerCollection::Get(const char16_t*) method

Gets the Slicer by slicer’s name.

Slicer Aspose::Cells::Slicers::SlicerCollection::Get(const char16_t *name)

Examples

Slicer slicerByName = slicers.Get(u"fruit");

See Also