I drew an image in a picturebox with the image height as picturebox height and image width as picturebox width. The image is placed somewhere on the center of the picturebox. My intention is to scale the image to fit to the picturebox. How do I do this please?

Thanks

Recommended Answers

Change the SizeMode property to "Stretch Image" for the picturebox.

Jump to Post

All 2 Replies

That's fantastic!! That worked. I had to crop the image though. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.