hello,
i'm a new Infragistic's user and i would try to print several items from a WinForm, but i don't know how to make this function.
I saw several samples which can print directly an UltraGrid or an UltraChart, but in my project it's possible to print many components (layout, label, textbox, grid, chart,etc...) in the same report.
My question is "how to print the content of a WinForm without making a screen capture ?"
To illustrate my request, i post a little picture which represent this one.
Thanks !
Hello,
One of the approaches you could try is creating a bitmap from the graphics of the form and in the 'PrintPage' event of the 'WinPrintDocument' component to use the 'DrawImage' method of the 'Graphics' object of the EventArgs.
Please do not hesitate to ask if something comes up.