Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SetItemPictureImage Method, VirtualItem Object

Defines the graphic displayed as the item's item graphic.

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Image.SetImageList instead

Syntax

VB.NETobject.SetItemPictureImage(ByVal ImgListObj As Object, ByVal ImgIndex As Short)
VBobject.SetItemPictureImage(ByVal ImgListObj As Object, ByVal ImgIndex As Integer)
C#.NETvoid object.SetItemPictureImage(object ImgListObj, short ImgIndex);
VC++HRESULT object->SetItemPictureImage(LPDISPATCH ImgListObj, short ImgIndex);
CHRESULT object->raw_SetItemPictureImage(LPDISPATCH ImgListObj, short ImgIndex);

object

A VirtualItem object.

ImgListObj

An ImageList control (supporting the IImageList interface). This ImageList object contains the graphics used to display the item graphic.

ImgIndex

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

Comments

Deprecated - Provided for compatibility with earlier versions only - Use VirtualItem.Item.Image.SetImageList instead

The SetItemPictureImage method defines the graphic displayed as the item's item graphic.

The VirtualItem.SetItemPictureImage property is used while handling a VirtualItem event to define the graphic displayed as the item's item graphic. The item is described by the VirtualItem event's RowIndex parameter.

See Also VirtualItem Object | Object Hierarchy


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