SftTree/OCX 7.0

SftTree.GetItemPictureImage Method

Softel vdm, Inc.

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

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

Syntax       

VB.NET

object.GetItemPictureImage(ByVal ItemIndex As Integer, ByRef ImgListObj As Object, ByRef ImgIndex As Short)

VB

object.GetItemPictureImage(ByVal ItemIndex As Long, ImgListObj As Object, ImgIndex As Integer)

C#.NET

void object.GetItemPictureImage(int ItemIndex, out object ImgListObj, out short ImgIndex);

VC++

HRESULT object->GetItemPictureImage(long ItemIndex, LPDISPATCH* ImgListObj, short* ImgIndex);

C

HRESULT object->raw_GetItemPictureImage(long ItemIndex, LPDISPATCH* ImgListObj, short* ImgIndex);

Delphi

procedure object.GetItemPictureImage(ItemIndex : Integer, out ImgListObj : IDispatch, out ImgIndex : Smallint);

object

A SftTree object.

ItemIndex

The zero-based item index.

ImgListObj

Returns a reference to the ImageList control object.

ImgIndex

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

Comments

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

The GetItemPictureImage method defines the graphic displayed as an item's item graphic.

The Item.Image.SetImageList method is used to set an item's item graphic using an ImageList control.

See Also  SftTree Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com