N
Nicholas Paldino [.NET/C# MVP]
Renato,
What you would do is create a new Bitmap instance (which derives from
image). When you get that, you would get the Graphics instance for the
Bitmap (by calling the static FromImage method on the Graphics class). Once
you have that, you can copy a section of the larger image to the new bitmap
(through a call to the DrawImage method on the Graphics instance returned).
Hope this helps.
What you would do is create a new Bitmap instance (which derives from
image). When you get that, you would get the Graphics instance for the
Bitmap (by calling the static FromImage method on the Graphics class). Once
you have that, you can copy a section of the larger image to the new bitmap
(through a call to the DrawImage method on the Graphics instance returned).
Hope this helps.