Hide

SftButton/OCX 3.0 - Button Control

Display
Print

SetImageListH Method, SftPictureObject Object

Defines the picture object as an ImageList image.

Syntax

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

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.

See Also SftPictureObject Object | Object Hierarchy


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