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?
Printable View
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?
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