Draw Slicer while rendering Excel to PDF

How to Draw a Slicer while Rendering Excel to PDF Using Aspose.Cells for Python Excel Library

If you have an Excel file that has a slicer applied to it and you want to export the Excel file to PDF with the slicer settings, Aspose.Cells for Python via .NET now supports this by default. You simply export the Excel file with the slicer to PDF. The generated PDF will show the slicer applied.

The following sample code loads the sample Excel file that contains an existing slicer. It then saves the workbook as the output PDF file. The following screenshot compares the source Excel file and the generated PDF file.

todo:image_alt_text

Sample Code