NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Modifying the Size or Placement of a Picture at Run Time

If you use the Win Forms PictureBox control on a form, you can set the SizeMode property on it to:

Stretching a picture (especially one in bitmap format) can produce a loss in image quality. Metafiles, which are lists of graphics instructions for drawing images at run time, are better suited for stretching than bitmaps are.

To set the SizeMode property at run time

See Also

Loading a Picture at Design Time | PictureBox Control | Setting Pictures at Run Time