Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1075
Print Preview and PDF-export looks different for UltraGrid
posted

 Hi!

 I have UltraGrid and when user prints it looks completely different from pdf-export - see attached file.

How to add stretched image to pdf-header? How to display pdf-header centered? How to use fit to pages in pdf-export? How to get rid of selectors for columns with ValueLists in Print Preview and printed document?

 

Mila.

  • 469350
    Offline posted

    Klimia said:
    I have UltraGrid and when user prints it looks completely different from pdf-export - see attached file.

     

    Yes, that's true. The grid printing prints the grid directly, it does not go through PDF to do printing. If you want to print the PDF, then yuo can use the print method on the Report. 

    Klimia said:
    How to add stretched image to pdf-header? How to display pdf-header centered?


    You would have to add this directly to the report, I think. You might want to check out the sample that demonstrates how to insert objects into the report. There's a sample in the WinGrid Samples Explorer for exporting to PDF and it has options to insert other elements into the report either in the same section with the grid and in a separate section. 

    Klimia said:
    How to use fit to pages in pdf-export?

    There is no such thing. In PDF, the page size is adjusted so that the grid always fits on one page horizontally. It's up to the viewing application (like Adobe Acrobat Reader) to scale the page for printing.

    Klimia said:
    How to get rid of selectors for columns with ValueLists in Print Preview and printed document?

    I don't understand what you are referring to.  What are "selectors?"