Export (0) Print
Expand All

PictureBox Control Overview (Windows Forms)

The Windows Forms PictureBox control is used to display graphics in bitmap, GIF, JPEG, metafile, or icon format.

The picture that is displayed is determined by the Image property, which can be set at run time or at design time. You can alternatively specify the image by setting the ImageLocation property and then load the image synchronously using the Load method or asynchronously using the LoadAsync method. The SizeMode property controls how the image and control fit with each other. For more information, see How to: Modify the Size or Placement of a Picture at Run Time (Windows Forms).

© 2014 Microsoft