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
20
Print several items
posted

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 !

Parents
No Data
Reply
  • 71886
    Offline posted

    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.

Children
No Data