|
|
|
SftTreeRowColumnHeader.Image Property |
Defines the graphic displayed in the row/column header.
Syntax
VB.NET |
refImageObj = object.Image As SftPictureObject |
||
VB |
Set refImageObj = object.Image As SftPictureObject |
||
C#.NET |
SftPictureObject refImageObj = object.Image; |
||
VC++ |
ISftPictureObject* refImageObj = object->Image;
|
||
C |
HRESULT object->get_Image(ISftPictureObject** refImageObj); |
||
Delphi |
refImageObj := object.Image : ISftPictureObject; |
||
VB.NET |
object.Image = refImageObj As SftPictureObject |
||
VB |
object.Image = refImageObj As SftPictureObject |
||
C#.NET |
SftPictureObject object.Image = refImageObj; |
||
VC++ |
ISftPictureObject* object->Image = refImageObj;
|
||
C |
HRESULT object->put_Image(ISftPictureObject* refImageObj); |
||
Delphi |
object.Image := refImageObj : ISftPictureObject; |
object
A SftTreeRowColumnHeader object.
refImageObj
Defines the graphic displayed in the row/column header.
Comments
The Image property defines the graphic displayed in the row/column header.
The dimensions of the graphics are used to calculate the minimum dimension for the row/column header, row headers and column headers, so graphics used as Image property are never clipped vertically.
If the image object refImageObj 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).
The Image property can be set to the value Nothing (NULL), which removes the graphic from the row/column header.
The position of the row/column header graphic is determined by the RowColumnHeader.ImageHAlign, RowColumnHeader.ImageVAlign, RowColumnHeader.TextHAlign and RowColumnHeader.TextVAlign properties.
See Also SftTreeRowColumnHeader Object | Object Hierarchy