- Thoughts - http://peelle.org -
Taking a Screen Shot in .NET
Posted By Jeremy On 2008-02-20 @ 18:26 In .Net Code | 1 Comment
:-D
Hello to whoever is reading this. I hope your having a good day.
The other day I was thinking about writing a screen shot program for that windowed operating system. And being the bored semi-productive person that I am; I set out to make it a reality. My next thought(not literally) was .NET must have a built in function for this. :-D Lucky for me they did. The function is CopyFromScreen(int SourceX, int SourceY, int DestX, int DestY, size SquareSize) .
[1] Here is a link to Microsoft’s information about the function.
Sadly my journey to that information took 2 hours. Partly because I didn’t know exactly what I was searching for. I started by looking for “capture screen shot using .NET”. This brought up a lot of links, and some even had solutions. To bad for me that I didn’t like them(lol at saving time).
I mentioned that the first solution seemed too much like a hack. Also if I only want portions of the screen I would have to do image editing and/or other stuff. Seeing as I don’t do much winshield programming let alone .NET I searched until I found the way I thought was proper. At some point in the future I will post my program up on my site, … and … maybe the code.
Article printed from Thoughts: http://peelle.org
URL to article: http://peelle.org/archives/2
URLs in this post:
[1] Here is a link to Microsoft’s information about the function. : http://msdn2.microsoft.com/en-us/library/fw1kt6f9(VS.80).aspx
Click here to print.