Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxRowColumnHeader.Picture Property

Defines the row/column header's picture component.

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

Syntax

Get

VB.NETrefPictureObj = object.Picture As stdole.IPictureDisp
VBSet refPictureObj = object.Picture As IPictureDisp
C#.NETstdole.IPictureDisp refPictureObj = object.Picture;
VC++IPictureDisp* refPictureObj = object->GetPicture();
CHRESULT object->get_Picture(IPictureDisp** refPictureObj);

Put

VB.NETobject.let_Picture(ByVal refPictureObj As stdole.IPictureDisp)
VBobject.Picture = refPictureObj As IPictureDisp
C#.NETvoid object.let_Picture(stdole.IPictureDisp refPictureObj);
VC++void object->PutPicture(IPictureDisp* refPictureObj);
CHRESULT object->put_Picture(IPictureDisp* refPictureObj);

PutRef

VB.NETobject.Picture = refPictureObj As stdole.IPictureDisp
VBSet object.Picture = refPictureObj As IPictureDisp
C#.NETstdole.IPictureDisp object.Picture = refPictureObj;
VC++void object->PutRefPicture(IPictureDisp* refPictureObj);
CHRESULT object->putref_Picture(IPictureDisp* refPictureObj);

object

A SftBoxRowColumnHeader object.

refPictureObj

Defines the row/column header's picture component.

Comments

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

The Picture property defines the row/column header's picture component.

The dimensions of the graphics are used to calculate the minimum required height for all column headers and the row/column header, so graphics and text are never clipped vertically.

To remove the row/column header picture, set the property to Nothing (0, null, NULL).

The position of the graphic relative to the text component can be defined using the RowColumnHeader.ImageHAlign and RowColumnHeader.ImageVAlign properties.

If the image object refPictureObj defines a bitmap, the top, left pixel of the bitmap must contain the bitmap's background color. This color will be replaced throughout the bitmap with the actual background (see Bitmap Transparency).

See Also SftBoxRowColumnHeader Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.