Applies To Bound Object Frame control, Chart control, Image control, Unbound Object Frame control.
Description
You can use the SizeMode property to specify how to size a picture or other object in a bound object frame, an unbound object frame, or an image control.
Setting
The SizeMode property uses the following settings.
Setting | Description | Visual Basic |
Clip | (Default) Displays the object at actual size. If the object is larger than the control, its image is clipped on the right and bottom by the control's borders. | acOLESizeClip (0) |
Stretch | Sizes the object to fill the control. This setting may distort the proportions of the object. | acOLESizeStretch (1) |
Zoom | Displays the entire object, resizing it as necessary without distorting the proportions of the object. This setting may leave extra space in the control if the control is resized. | acOLESizeZoom (3) |
See Also Action property, Resize event.
Example See the Action property example.