OLEContainerSizeModeConstants
Sizing-rule values for the SizeMode property of an OLE container control.
| Constant | Value | Description |
|---|---|---|
| vbOLE_SizeClip | 0 | The object is clipped at the container’s edges. |
| vbOLE_SizeStretch | 1 | The object is stretched to fill the container, ignoring aspect ratio. |
| vbOLE_SizeAutoSize | 2 | The container resizes itself to fit the object. |
| vbOLE_SizeZoom | 3 | The object is scaled to fit the container while preserving its aspect ratio. |