Aspose::Cells::Slicers::Slicer::GetStyleType method

Slicer::GetStyleType method

Specify the type of Built-in slicer style the default type is SlicerStyleLight1.

SlicerStyleType Aspose::Cells::Slicers::Slicer::GetStyleType()

Examples

if (slicer.GetStyleType() != SlicerStyleType::SlicerStyleLight2)
{
    slicer.SetStyleType(SlicerStyleType::SlicerStyleLight2);
}

See Also