Aspose::Cells::Slicers::Slicer::SetStyleType method

Slicer::SetStyleType method

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

void Aspose::Cells::Slicers::Slicer::SetStyleType(SlicerStyleType value)

Examples

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

See Also