Take limited screenshots

EZCheeZe

Member
Joined
Dec 12, 2002
Messages
7
Is there a way to take a screenshot from x1,y1 to x2,y2? I have looked in the help file, and in mt VB book, but I have not found it. Any insight will be helpful.
 
First, do you know how to get a screenshot at all? Once you have one, it will be a regular bitmap and using GDI+ you can crop it to whatever size you want. Ill try and put something together tomorrow if you cant figure it out by then :)

-nerseus
 
Alas, I do not know how to make a screenshot. I have searched this book cover to cover, and nothing. There is also nothing that comes up in the help file :(
 
Sorry - this is in C#. Im not sure of any good VB.NET resources. The objects and methods should be the same in both so it shouldnt be hard to convert - the basic idea will be the same.

Im not 100% sure this article will help but it is used to do generic screen captures so it may, at least, get you started:
http://www.csharp-corner.com/code/2002/april/screencaptureutility.asp

Good Luck!
-Nerseus
 
Back
Top