|
|
|
SftPictureObject.SetImageListH Method |
Defines the picture object as an ImageList image.
Syntax
VB.NET |
object.SetImageListH(ByVal ImageListWindow As Integer, ByVal ImageIndex As Short) |
||
VB |
object.SetImageListH(ByVal ImageListWindow As OLE_HANDLE, ByVal ImageIndex As Integer) |
||
C#.NET |
void object.SetImageListH(int ImageListWindow, short ImageIndex); |
||
VC++ |
HRESULT object->SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex); |
||
C |
HRESULT object->raw_SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex); |
||
Delphi |
procedure object.SetImageListH(ImageListWindow : Cardinal, ImageIndex : Smallint); |
object
A SftPictureObject object.
ImageListWindow
An ImageList control handle.
ImageIndex
The one-based index of the image in the ImageList control to be used as graphic.
Comments
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.