Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The Windows Forms PictureBox control is used to display graphics in bitmap, GIF, JPEG, metafile, or icon format.
Key Properties and Methods
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).
See Also
Tasks
How to: Load a Picture Using the Designer (Windows Forms)
How to: Modify the Size or Placement of a Picture at Run Time (Windows Forms)
How to: Set Pictures at Run Time (Windows Forms)