Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

GetImageList Method, SftPictureObject Object

Retrieves the picture object attributes defined as an ImageList image.

Syntax

VB.NETobject.GetImageList(ByRef ImageList As Object, ByRef ImageIndex As Short)
VBobject.GetImageList(ImageList As Object, ImageIndex As Integer)
C#.NETvoid object.GetImageList(out object ImageList, out short ImageIndex);
VC++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 window handle based ImageList control (Common Controls).

If the current picture object is not based on an ImageList (SftPictureObject.Type other than sftTypeImageList), the returned values are not valid.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.