Files
docs-desktop/dotnet-desktop-guide/framework/winforms/controls/picturebox-control-overview-windows-forms.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

1.8 KiB

title, ms.date, f1_keywords, helpviewer_keywords, ms.assetid
title ms.date f1_keywords helpviewer_keywords ms.assetid
PictureBox Control Overview 03/30/2017
PictureBox
PictureBox control [Windows Forms], about PictureBox controls
picture controls [Windows Forms], about picture controls
image controls [Windows Forms], about image controls
e5befee7-dc29-4888-a7c4-3b177e394112

PictureBox Control Overview (Windows Forms)

The Windows Forms xref:System.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 xref:System.Windows.Forms.PictureBox.Image%2A property, which can be set at run time or at design time. You can alternatively specify the image by setting the xref:System.Windows.Forms.PictureBox.ImageLocation%2A property and then load the image synchronously using the xref:System.Windows.Forms.PictureBox.Load%2A method or asynchronously using the xref:System.Windows.Forms.PictureBox.LoadAsync%2A method. The xref:System.Windows.Forms.PictureBox.SizeMode%2A 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.

See also