sir, i have a page with datagridview or other information, now i want to print whole page with datagridview or other information which is show in label. i know only how to print datagridview value but i dont know how to print both value so help me ......
thanks in advance ........................
i m sending capture image also ....
Jitendra SharmaPosted May 6, 2016, 4:20 AM
Bhuvanesh MohankumarPosted May 6, 2016, 3:46 AM
Hi Jitendra,
Then I would suggestedto implement this logic, sure you will have all the page content, in the application object or Control state.
Jitendra SharmaPosted May 6, 2016, 3:39 AM
Bhuvanesh MohankumarPosted May 6, 2016, 3:35 AM
Hi Jitendra,
Is that printing the screen shot of the application or
Image img = sc.CaptureScreen();
this.imageDisplay.Image = img;
sc.CaptureWindowToFile(this.Handle,"C:\\temp2.gif",ImageFormat.Gif);