By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,896 Members | 2,002 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,896 IT Pros & Developers. It's quick & easy.

Re-phrase: printing a form

P: n/a
how can i print a form in c# ?
or a panel from a form ?
Sep 26 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

In 2.0 use Control.DrawToBitmap method. (The output can be unpredictable at times, so be warned)

I don't think there is any 1.* equivalent. In that case (and maybe even in 2.0 for better results) you can use some unmanaged
function to blit the contents of the window into a memory bitmap.

BitBlt function on MSDN:
http://msdn.microsoft.com/library/de...tmaps_0fzo.asp

--
Dave Sexton

"Nadav" <na****@gmail.comwrote in message news:uC**************@TK2MSFTNGP02.phx.gbl...
how can i print a form in c# ?
or a panel from a form ?

Sep 26 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.