SftTree/OCX 7.0

SftTree.GetCellPictureImage Method

Softel vdm, Inc.

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

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

Syntax       

VB.NET

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

VB

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

C#.NET

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

VC++

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

C

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

Delphi

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

object

A SftTree object.

ItemIndex

The zero-based index of the item.  The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number.  The combination of ItemIndex and ColIndex describes an individual cell.

ImgListObj

Returns 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 Cell.Image.GetImageList instead

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

The Cell.Image.SetImageList method is used to set a cell's optional graphic component using an ImageList control.

See Also  SftTree Object | Object Hierarchy


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