Defines the picture object as an ImageList image.
| C# | void object.SetImageListH(int ImageListWindow, short ImageIndex); |
| VB.NET | object.SetImageListH(ByVal ImageListWindow As Integer, ByVal ImageIndex As Short) |
| C++ | HRESULT object->SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex); |
| C | HRESULT object->raw_SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex); |
object
ImageListWindow
An ImageList handle (HIMAGELIST).
ImageIndex
The zero-based index of the image in the ImageList to be used as graphic.
The SetImageListH method defines the picture object as an ImageList image.
The SftPictureObject.Type property is set to sftTypeImageListH. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.
See Also SftPictureObject Object | Object Hierarchy