I have an image and I can draw a rectangle on the image. However I don't have a clue as to zoom the image in on the rectangle that I have drawn. If the rectangle is drawn I want the picture to zoom in on that area on the mouseup event How can I do this?