Resizing an image

  • Thread starter Thread starter Xarky
  • Start date Start date
X

Xarky

Hi,
I am loading a bmp image, and showing it in a picture box, but the
image is big and is not fitting in the picture box. Is there a way to
change the size of the image by coding.


Thanks
 
Xarky said:
Hi,
I am loading a bmp image, and showing it in a picture box, but the
image is big and is not fitting in the picture box. Is there a way to
change the size of the image by coding.


Thanks

Bitmap has a constructor that accepts an other Bitmap (or Image)
plus a Size structure. This resizes that original bitmap.

Hans Kesting
 
Thanks, problem solved.

Hans Kesting said:
Bitmap has a constructor that accepts an other Bitmap (or Image)
plus a Size structure. This resizes that original bitmap.

Hans Kesting
 
Back
Top