If I have a picturebox and want to capture the lower right quarter of it, what do I need to do? I cant seem to figure it out for the life of me. For some reason, I can only create an image that is a quarter of the size of the image, but it is always from (0,0).
VB.NET:
Dim r1 As New Rectangle(x2, y2, PictureBox1.Width / 2, PictureBox1.Width / 2)
Dim b1 As New SolidBrush(Color.Black)
g.FillRectangle(b1, PictureBox1.ClientRectangle)
g.DrawImage(PictureBox1.Image, r1, PictureBox1.ClientRectangle, GraphicsUnit.Pixel)