Returns or sets a value that specifies how to size a picture in the Data Report designer's Image control.
Syntax
object.SizeMode [=integer]
The SizeMode property syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| integer | Optional. A numeric expression that specifies how a picture will be sized, as shown in Settings. |
Settings
The settings for integer are:
| Constant | Value | Description |
| rptSizeClip | 0 | The picture will be clipped. |
| rptSizeStretch | 1 | The picture will be stretched to fit the control. |
| rptSizeZoom | 2 | Same as stretched, except the X:Y proportion of the image remains constant. |