Hi Support,
I have a WinGrid which is used to export data from grid to PDF/XPS, our requirement is to hide some columns so that it will not be visible while running but wants to include the hidden columns when exporting to either EXCEL or PDF or XPS format.
I am able to export the data to the PDF/XPS successfully. After opening the PDF/XPS, I am facing a big table with all the data and when I printed it all shrink to one page and they are so small that I can not even read. I do not know what is going on and I do to have a page format. Please let me know. Main issue with both PDF and XPS please check with both.
Regards,Bunty :)
Hi Mike,
Thank you for update. I got to know that it is the limitation of the standard Print option that when the grid is exported to pdf/xps it acquires the size of the single page and it works fine and when I use printing option from Physical it does shrink the page and overlap the data to another page. Thank you for your update.
Bunty :)
Hi Bunty,
I'm not sure I understand what the issue is.
PDf/XPS format do not allow you to span across pages horizontally. So the UltraGridDocumentExporter exports the entire grid to a single page wide. It will increase the size of the page so that the grid will fit. But when you print, the physical size of the page will limit the size of the grid and so the grid might have to shrink to fit.
There is no way around this, it's a limitation of the format, not the grid.
If you just want to print the grid, then there's no reason to use PDF or XPS. The grid has printing built-in, and the built-in printing will span across pages.