HeaderPane
Main
Hide
Share Link
Print

GetImageList Method, SftPictureObject Object

Retrieves the picture object attributes defined as an ImageList image.

Syntax

C#void object.GetImageList(out object ImageList, out short ImageIndex);
VB.NETobject.GetImageList(ByRef ImageList As Object, ByRef ImageIndex As Short)
C++HRESULT object->GetImageList(LPDISPATCH* ImageList, short* ImageIndex);
CHRESULT object->raw_GetImageList(LPDISPATCH* ImageList, short* ImageIndex);

object

A SftPictureObject object.

ImageList

Returns the ImageList control.

ImageIndex

Returns the one-based index of the image in the ImageList control used as graphic.

Comments

The GetImageList method retrieves the picture object attributes defined as an ImageList image.

GetImageList only supports ActiveX ImageList controls that offer an IImageList interface. GetImageListH and SetImageListH support a handle based ImageList (HIMAGELIST, Common Controls).

If the current picture object was not defined using SetImageList, the returned values are not valid.

See Also SftPictureObject Object | Object Hierarchy


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