PictureBox Control in VB.NET

What is picturebox control in VB.NET?

Explanation

Picture Box Control

PictureBox 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.
Video:
Explanation:
    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.

Visual Basic Tutorial


Ask Questions

Ask Question