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 | Visual Basic | Description |
---|---|---|
Clip | acOLESizeClip (0) | (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. |
Stretch | acOLESizeStretch (1) | Sizes the object to fill the control. This setting may distort the proportions of the object. |
Zoom | acOLESizeZoom (3) | 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. |
You can set the SizeMode property in a property sheet, in a macro, or by using Visual Basic. You can set the default for this property by using a control's default control style or the DefaultControl method in Visual Basic.
Tip Use the Clip setting for the fastest display. You can use the Stretch setting for bar graphs and line graphs without concern for size adjustments. The Stretch setting can distort circles and photos.