System.Windows.Forms.PictureBoxSizeMode.CenterImage Field

The image is displayed in the center if the System.Windows.Forms.PictureBox is larger than the image. If the image is larger than the System.Windows.Forms.PictureBox, the picture is placed in the center of the System.Windows.Forms.PictureBox and the outside edges are clipped.

Syntax

PictureBoxSizeMode CenterImage

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0