PictureBox Control in VB.NET
What is picturebox control in VB.NET?
Picture Box ControlPictureBox Control
is used to display an image of the file formats like png, gif, jpeg, bmp, wmf, ico, pcx, tga, tiff. Images
can be loaded either at the design time or at runtime.
In the above picturebox control example
- First an image file is loaded to the control using the Image property.
- In the click event of the button, the SizeMode property with a value CenterImage of the picture box is used.