Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

LabelPicture Property, VirtualItem Object

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

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

Syntax

Get

VB.NETrefPictureObj = object.LabelPicture As stdole.IPictureDisp
VBSet refPictureObj = object.LabelPicture As IPictureDisp
C#.NETstdole.IPictureDisp refPictureObj = object.LabelPicture;
VC++IPictureDisp* refPictureObj = object->GetLabelPicture();
CHRESULT object->get_LabelPicture(IPictureDisp** refPictureObj);

Put

VB.NETobject.let_LabelPicture(ByVal refPictureObj As stdole.IPictureDisp)
VBobject.LabelPicture = refPictureObj As IPictureDisp
C#.NETvoid object.let_LabelPicture(stdole.IPictureDisp refPictureObj);
VC++void object->PutLabelPicture(IPictureDisp* refPictureObj);
CHRESULT object->put_LabelPicture(IPictureDisp* refPictureObj);

PutRef

VB.NETobject.LabelPicture = refPictureObj As stdole.IPictureDisp
VBSet object.LabelPicture = refPictureObj As IPictureDisp
C#.NETstdole.IPictureDisp object.LabelPicture = refPictureObj;
VC++void object->PutRefLabelPicture(IPictureDisp* refPictureObj);
CHRESULT object->putref_LabelPicture(IPictureDisp* refPictureObj);

object

A VirtualItem object.

refPictureObj

Defines the graphic displayed as the item's label 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.LabelImage.Picture instead

The LabelPicture property defines the graphic displayed as the item's label graphic.

The VirtualItem.LabelPicture property is used while handling a VirtualItem event to define the item's label 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.