Defines the image object using an icon handle.
Get
| C# | int hIcon = object.IconHandle; |
| VB.NET | hIcon = object.IconHandle As Integer |
| C++ | OLE_HANDLE hIcon = object->IconHandle; OLE_HANDLE hIcon = object->GetIconHandle(); |
| C | HRESULT object->get_IconHandle(OLE_HANDLE* hIcon); |
| VB | hIcon = object.IconHandle As OLE_HANDLE |
Put
| C# | int object.IconHandle = hIcon; |
| VB.NET | object.IconHandle = hIcon As Integer |
| C++ | OLE_HANDLE object->IconHandle = hIcon; void object->PutIconHandle(OLE_HANDLE hIcon); |
| C | HRESULT object->put_IconHandle(OLE_HANDLE hIcon); |
| VB | object.IconHandle = hIcon As OLE_HANDLE |
object
hIcon
Defines the image object using an icon handle. The icon handle can be NULL, 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.Height and SftPictureObject.Width properties reflect the icon size.
See Also SftPictureObject Object | Object Hierarchy