Hi Babar
i would need a dynamic print area behaviour. Is this working with PDF-export now?
IF not, my scenario is a bit complicated:
I have an Excel File, servering as a template with a Analysis Services datasource behind.
For desgin reasons we had to convert a powerpivot table into cube formulas. In order for the sheet to hold all data we had to put some predesigned “placeholder” rows. Depending on a filter (slicer) these rows are filled or not. Unfortunately the Excel->PDF of aspose seems to handle these rows as not empty. Excel treats them as empty. So when I save the Excel as PDF through Excel, Excel cuts the unnessary pages whereas aspose (we use it because the renderresult is much better-except for this case) adds the unnessary “empty” pages to the resulting PDF.
Therefore we put in a dynamic print area, which is ignored. In Excel it is working.
Hope that is somehow understandable for you.
Thank you
Matthias