Defines the desired image width.
| Get | |||
| VB | WPix = object.Width As Long | ||
| Put | |||
| VB | object.Width = WPix As Long |
object
WPix
Defines the desired image width, in pixels.
The Width property defines the desired image width.
The desired image width is only used for built-in images (SftPictureObject.Type is sftTypeBuiltin) and color samples (SftPictureObject.Type is sftTypeColorSample). For all image types, the SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image dimensions.
See Also SftPictureObject Object | Object Hierarchy