Returns or sets a value indicating whether a graphic resizes to fit the size of an Image control.
Syntax
object.Stretch [= boolean]
The Stretch property syntax has these parts:
Part | Description |
Object | An object expression that evaluates to an object in the Applies To list. |
Boolean | A Boolean expression specifying whether the graphic resizes, as described in Settings. |
Settings
The settings for boolean are:
Setting | Description |
True | The graphic resizes to fit the control. |
False | (Default) The control resizes to fit the graphic. |
Remarks
If Stretch is set to True, resizing the control also resizes the graphic it contains.