Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
You can format the slicer in Microsoft Excel by setting its number of columns or by setting its style etc. Aspose.Cells also allows you to do this using the Slicer.NumberOfColumns and Slicer.StyleType properties.
Please see the following code, it loads the sample Excel file that contains a slicer. It accesses the slicer and sets its number of columns and style type and saves it as output Excel file. The screenshot shows how the slicer looks after the execution of the sample code.

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.