Click to See Complete Forum and Search --> : Adding a pic to a picbox


jeremy
January 24th, 1999, 11:25 PM
I am having trouble adding a bitmap to a picturebox with pre determind size , i want to resize the picture so that it fits in the picture box, with out resizing it in a paint progarm. any ideas?

Jeremy-Deleted
January 24th, 1999, 11:25 PM
I am having trouble adding a bitmap to a picturebox with pre determind size , i want to resize the picture so that it fits in the picture box, with out resizing it in a paint progarm. any ideas?

N.G.Bimlesh
January 25th, 1999, 12:06 PM
Hi,

I have got a solution for fitting ur Image into a picture box.

The picture box will resize to the height of the Image.


There is a property in the Picture Box named AutoDraw.


If PictureBox.AutoDraw=True,

then the Picture box resizes to the Image co-ordiantes.

else

It does not re-size.

end if


Hope this solves ur above problem


Regards

Bimlesh