Resize Image C Picturebox. Rect width scale sourcesize width. Objimage is the original image bitmap objbitmap new bitmap objimage new size 227 171.
Posted on july 21 2014 by rod stephens. When the form loads the following load event handler saves the scale factor for each of the scaling menu items in their tag properties. How can i resize an image object at run time in c.
Sep 28 12 at 20 08.
Var newheight int image height ratio. Then you ll probably have to do something like. Set the menus tag values. Rect x targetsize width rect width 2.