Corp an Image in VB 6.0
Visual Basic
2
Posts
2
Posters
0
Views
1
Watching
-
I want to corp an image iin VB 6.0 by giving the coordinates of the place I need to corp and want to save it to another place. Any one knows how to do it.Please help A,Miftha Idroos Trainee Software Engineer. HNB. Sri Lanka
Just .NET code but it may help:
Bitmap newone = new Bitmap(100,100); Graphics g4 = Graphics.FromImage(newone); System.Drawing.Rectangle dstRect = new System.Drawing.Rectangle(0, 0 ,100, 100); g4.DrawImage(screenGrab, dstRect, 30,40,100,100,System.Drawing.GraphicsUnit.Pixel); newone.Save("C:/thenewone.bmp");