IronPython to print/ export entire table with formatting

My Customer requested export of a large cross table from Spotfire. The table has color formatting. the entire table with columns needs to be available to the customer. Since export to Excel is not available in Spotfire, I need an IronPython solution to export a PDF of the cross table in one page from the web player. I have found this script I've attached, however I cannot find anywhere in the API the UI functionality 'fit-fo-page'. If I was able to fit the pdf to page with 60% scale, that would be a working solution comparable to excel . Plus I need to make sure it works in the webplayer, where user can export onto their machine, not to the local C drive of the server. Any suggestions are greatly appreciated. Thanks, Kate


Plain text icon pdf_ip.txt1.56 KB

(1) Answer