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.IPictureDisp
|
|
|
VB
|
Set refPictureObj = object.ItemPicture As IPictureDisp
|
|
|
C#.NET
|
stdole.IPictureDisp 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.IPictureDisp)
|
|
|
VB
|
object.ItemPicture = refPictureObj As IPictureDisp
|
|
|
C#.NET
|
void object.let_ItemPicture(stdole.IPictureDisp 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.IPictureDisp
|
|
|
VB
|
Set object.ItemPicture = refPictureObj As IPictureDisp
|
|
|
C#.NET
|
stdole.IPictureDisp 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
virtitem_itempicture.htmlSftTreeOCX70_virtitem_itempicture.html
Feedback
/ comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com