Stretch Property

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

 [Form.]Control.Stretch[= nType]

Property Values

  • 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.

See Also

Autosize Property | Sizable Property

Applies To: Image | OLE Bound Control | OLE Container Control