Defines the desired image width.
Get
| VB.NET | WPix = object.Width As Integer |
| VB | WPix = object.Width As Long |
| C#.NET | int WPix = object.Width; |
| VC++ | long WPix = object->Width; long WPix = object->GetWidth(); |
| C | HRESULT object->get_Width(long* WPix); |
Put
| VB.NET | object.Width = WPix As Integer |
| VB | object.Width = WPix As Long |
| C#.NET | int object.Width = WPix; |
| VC++ | long object->Width = WPix; void object->PutWidth(long WPix); |
| C | HRESULT object->put_Width(long WPix); |
object
WPix
Defines the desired image width.
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