Retrieves the picture object attributes defined as an ImageList image.
| C# | void object.GetImageListH(out int ImageListWindow, out short ImageIndex); |
| VB.NET | object.GetImageListH(ByRef ImageListWindow As Integer, ByRef ImageIndex As Short) |
| C++ | HRESULT object->GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex); |
| C | HRESULT object->raw_GetImageListH(OLE_HANDLE* ImageListWindow, short* ImageIndex); |
| VB | object.GetImageListH(ImageListWindow As OLE_HANDLE, ImageIndex As Integer) |
object
A SftPictureObject object.
ImageListWindow
Returns the ImageList handle (HIMAGELIST).
ImageIndex
Returns the zero-based index of the image in the ImageList used as graphic.
The GetImageListH method retrieves the picture object attributes defined as an ImageList image.
If the current picture object is not based on an ImageList (SftPictureObject.Type other than sftTypeImageListH), the returned values are not valid.
See Also SftPictureObject Object | Object Hierarchy