Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

SetImageList Method, SftPictureObject Object

Defines the picture object as an ImageList image.

Syntax

VB.NETobject.SetImageList(ByVal ImageList As Object, ByVal ImageIndex As Short)
VBobject.SetImageList(ByVal ImageList As Object, ByVal ImageIndex As Integer)
C#.NETvoid object.SetImageList(object ImageList, short ImageIndex);
VC++HRESULT object->SetImageList(LPDISPATCH ImageList, short ImageIndex);
CHRESULT object->raw_SetImageList(LPDISPATCH ImageList, short ImageIndex);

object

A SftPictureObject object.

ImageList

An ImageList control (supporting the IImageList interface).

ImageIndex

The one-based index of the image in the ImageList control to be used as graphic.

Comments

The SetImageList method defines the picture object as an ImageList image.

SetImageList only supports ActiveX ImageList controls that offer an IImageList interface. GetImageListH and SetImageListH support a window handle based ImageList control (Common Controls).

The SftPictureObject.Type property is set to sftTypeImageList. The SftPictureObject.Height and SftPictureObject.Width properties reflect the image size.

See Also SftPictureObject Object | Object Hierarchy


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