advanced code snippet search
rlynch3 on 08/05/10
images Sprites
08/05/10 07:04pm
1 person have marked this snippet as a favorite
Tyster
using System.Drawing; using System.Drawing.Imaging;
Bitmap img = new Bitmap(@"C:/imageLocation"); Rectangle cropArea = new Rectangle(0, 1100, 150, 105); Bitmap croppedImage = img.Clone(cropArea, img.PixelFormat); pictureBox2.Image = croppedImage;
Report this snippet Tweet
Comment:
You need to login to post a comment.