TRVTableCellData

Properties   Methods

<< Click to display table of contents >>

TRVTableCellData

Properties   Methods

TRVTableCellData represents one cell in a table (see TRVTableItemInfo). Cells can be accessed using Cells property of table.

Unit RVTable.

Syntax

TRVTableCellData = class(TRVItemFormattedData)

Hierarchy

TObject

TPersistent

TCustomRVData

TCustomRVFormattedData

TRVItemFormattedData

Methods and Properties

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, BackgroundProperties – background image, its visibility, size, position, and repetition;

▪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:

▪ColSpan, RowSpan.

Important methods:

▪GetRVData.

See also

Table Cells Overview