471,350 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

Capturing a Screenshot of a Hidden Form

I want to be able to capture a screenshot of a windows form that is hidden.
My goal here is to create a form of any particular size (the size could be
larger than the screen), get a screenshot, and save it to a image file.

I know how to capture a screenshot of a form but unfortunately if part of
the form is "off" the screen, then the area that is not on the screen is
"black" in the file.

Hope this makes sense.

Thanks,

Yosh
Dec 10 '05 #1
1 3675
PrintWindow

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.

"Yosh" <yo***@nospam.com> wrote in message
news:Ov**************@TK2MSFTNGP14.phx.gbl...
I want to be able to capture a screenshot of a windows form that is hidden.
My goal here is to create a form of any particular size (the size could be
larger than the screen), get a screenshot, and save it to a image file.

I know how to capture a screenshot of a form but unfortunately if part of
the form is "off" the screen, then the area that is not on the screen is
"black" in the file.

Hope this makes sense.

Thanks,

Yosh

Dec 10 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by ryanr | last post: by
3 posts views Thread by Andi | last post: by
1 post views Thread by Malcolm Lim | last post: by
2 posts views Thread by Carsten Klotz | last post: by
10 posts views Thread by Andrew | last post: by
1 post views Thread by - Electronic.HR - | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.