SftTree/OCX 7.0

VirtualItem.ItemPicture Property

Softel vdm, Inc.

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

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

Syntax       

Get

VB.NET

refPictureObj = object.ItemPicture  As stdole.IPictureDispLanguage-specific information

VB

Set refPictureObj = object.ItemPicture  As IPictureDisp

C#.NET

stdole.IPictureDispLanguage-specific information refPictureObj = object.ItemPicture;

VC++

IPictureDisp* refPictureObj = object->GetItemPicture();

C

HRESULT object->get_ItemPicture(IPictureDisp** refPictureObj);

Delphi

refPictureObj := object.ItemPicture  : IPictureDisp;

Put

VB.NET

object.let_ItemPicture(ByVal refPictureObj As stdole.IPictureDispLanguage-specific information)

VB

object.ItemPicture = refPictureObj  As IPictureDisp

C#.NET

void object.let_ItemPicture(stdole.IPictureDispLanguage-specific information refPictureObj);

VC++

void object->PutItemPicture(IPictureDisp* refPictureObj);

C

HRESULT object->put_ItemPicture(IPictureDisp* refPictureObj);

Delphi

procedure object._Set_ItemPicture(refPictureObj : IPictureDisp);

PutRef

VB.NET

object.ItemPicture = refPictureObj  As stdole.IPictureDispLanguage-specific information

VB

Set object.ItemPicture = refPictureObj  As IPictureDisp

C#.NET

stdole.IPictureDispLanguage-specific information object.ItemPicture = refPictureObj;

VC++

void object->PutRefItemPicture(IPictureDisp* refPictureObj);

C

HRESULT object->putref_ItemPicture(IPictureDisp* refPictureObj);

Delphi

object.ItemPicture := refPictureObj  : IPictureDisp;

object

A VirtualItem object.

refPictureObj

Defines the graphic displayed as the item's item graphic.  The refPictureObj object must represent a bitmap, icon or Windows metafile.  If a bitmap is used, the top, left pixel of each graphic must contain the background color.  This color will be replaced by the actual background when the graphic is displayed.  For information about picture properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

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

The ItemPicture property defines the graphic displayed as the item's item graphic.

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

See Also  VirtualItem Object | Object Hierarchy


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