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
925
Printing Pivot Grid
posted

HI..

Can anyone tell me if there is any way of putting this PivotGrid on paper?

If not, When??

  • 925
    posted

    Dimitar

    Thank you for the mail.  You said that you attached an example to the mail, but I think it got lost.

    Can you please place it somewhere for us to find

  • 23930
    Offline posted

    Hi Marius,

    Thank you for posting in our forums.

    Currently the only way to print the Pivot grid is by using the UltraPrintDocument. You will need to create an image from the control, and use the Graphics object to draw it in the print page. You can get the image using the DrawToBitmap, but the method will only draw the visible part of the control. To circumvent this, you will need to put the Pivot grid in a panel and increase it size base on the contents that are shown and then restore the size after the image is generated. I have attached a sample, which demonstrates this approach.

    If you want to have a dedicated component (as the ones for the grid, schedule or tree), I would suggest to log a new product idea from our product ideas site:

    http://ideas.infragistics.com/

    Let me know if you have any additional questions.

    WPG_DataSetToFDSwPrint.zip