<< Click to display table of contents >> TRVTableCellData |
TRVTableCellData represents one cell in a table (see TRVTableItemInfo). Cells can be accessed using Cells property of table.
Unit RVTable.
Syntax
TRVTableCellData = class(TRVItemFormattedData)
TObject
TPersistent
TCustomRVFormattedData
TRVItemFormattedData
TRVTableCellData has many properties and methods corresponding to properties and methods of TRichView.
TRVTableCellData and class of object TRichView.RVData are derived from the same base class.
In addition, this class has properties affecting the cell view and layout:
▪Color – background color of cell;
▪BackgroundImage, BackgroundStyle – background image and its position;
▪BackgroundImageFileName – can be used when exporting to HTML;
▪BorderColor, BorderLightColor – colors of border;
▪BestWidth, BestHeight, IgnoreContentHeight – preferred size of cell,
▪VAlign – vertical alignment of contents;
▪Rotation – rotation of contents;
▪VisibleBorders – defines visible sides of cell border.
▪Tag – a string value (not used by the component itself).
These properties can be saved with cell in RVF file or stream.
Also, this class has read-only properties:
Important methods: