Defines the image object using an icon handle.
| Get | |||
| VB | hIcon = object.IconHandle As OLE_HANDLE | ||
| Put | |||
| VB | object.IconHandle = hIcon As OLE_HANDLE |
object
hIcon
Defines the image object using an icon handle. The icon handle can be Nothing (0), in which case the SftPictureObject object is cleared.
The IconHandle property defines the image object using an icon handle.
The SftPictureObject.Type property is set to sftTypeIcon. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the icon size.
See Also SftPictureObject Object | Object Hierarchy