Stretch Property

Applies To   See Also

Specifies how an image is sized to fit inside a control. Available at design time and run time.

Syntax

[Form.]Control.Stretch[= nType]

Settings

nType

The settings for the Stretch property are as follows:

Setting Description
0   (Default) Clip. The image is clipped to fit the control.
1   Isometric. The image resizes to fit the control while maintaining its original proportions.
2   Stretch. The image resizes to fit the control, but does not maintain its original proportions.