PictureBox Properties

Graphical display for pictures

The PictureBox graphical display element presents graphics in bitmap, GIF, JPEG, and PNG format. At design time, you can stretch and shrink the display.

To access a dialog box containing key instrument or layout element properties, select the item. In the top, right corner, click the Tasks button .

To access the complete Properties list for an instrument or layout element, in the instrument panel, select the item. In the Properties list, to access a dialog box for a particular property group, click the group. To the right of the group, click the continuation button .

These properties represent a selection from the available properties. For more properties, see Graphical Properties.


expand all

Enter the full or relative path to the image.


expand all

  • Normal — Image full size, can be cut off by edges of instrument

  • StretchImage — Image stretched in the x and y directions, matching instrument aspect ratio

  • AutoSize — Image full size, instrument changes dimensions to match the image

  • CenterImage — Image full size, centered in instrument, can be cut off by edges of instrument

  • Zoom — Image stretched in the x and y directions, preserving image aspect ratio


expand all

When True, prevents accidental changes in size or location of the instrument instance.

Introduced in R2014a