Draw Slicer while rendering Excel to PDF

Draw Slicer while rendering Excel to PDF

If you have an Excel file which has slicer applied to it and you want to export the Excel to PDF with the slicer settings, Aspose.Cells now supports this by default. You simply export the Excel file with 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 output PDF file. The following screenshot compares the source Excel file and the generated PDF file.

todo:image_alt_text

Sample Code