rvico TRichView Reference | Item Types | Table | Cell

TRVTableCellData.BackgroundImage

Top  Previous  Next

Background image for the table cell

property BackgroundImage: TGraphic;

(introduced in v1.8)

Assignment to this property copies the image, so you still need to free the source image yourself.

Example 1 (assigning image):

bmp := TBitmap.Create;

bmp.LoadFromFile('c:\image.bmp');

table.Cells[r,c].BackgroundImage := bmp;

bmp.Free;

Example 2 (clearing the image):

table.Cells[r,c].BackgroundImage := nil;

 

See also properties:

BackgroundImageFileName;
BackgroundStyle;
Color.

See also properties of table:

BackgroundImage;
BackgroundStyle.

See also properties of TRichView:

BackgroundBitmap;
BackgroundStyle.


RichView © Sergey Tkachenko