HeaderPane
Main
Hide
Share Link
Print

SetImageListH Method, SftPictureObject Object

Defines the picture object as an ImageList image.

Syntax

C#void object.SetImageListH(int ImageListWindow, short ImageIndex);
VB.NETobject.SetImageListH(ByVal ImageListWindow As Integer, ByVal ImageIndex As Short)
C++HRESULT object->SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex);
CHRESULT object->raw_SetImageListH(OLE_HANDLE ImageListWindow, short ImageIndex);

object

A SftPictureObject object.

ImageListWindow

An ImageList handle (HIMAGELIST).

ImageIndex

The zero-based index of the image in the ImageList 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.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 11/15/2026 - (email)
© 2026 Softel vdm, Inc.