How can I print out the active window?
Thanks,Kevin
There is nothing in the Infragistics print related components that will print a form. The UltraPrintPreview(Dialog|Control|Thumbnail) all just deal with displaying the output of a .net PrintDocument. UltraPrintDocument is just a custom .net PrintDocument that adds header/footer functionality, etc. The Ultra(Grid|Schedule)PrintDocument classes are derived UltraPrintDocument classes that know how to print UltraGrid/UltraSchedule related information. So essentially you need to find/write a custom PrintDocument that knows how to render a form's contents into a printdocument and then you can print/preview it. One possible approach for a small form would be to create a bitmap of the form and then draw that into the graphics object of a printdocument's printpage event. This post discusses one approach to getting a bitmap of a form.
i am trying to figure out the same thing... i implemented the GridDocument to print a grid... but now i want to print the entire screen or all teh information on a WinForm...
can this be done?