<< Click to display table of contents >> TRVTableCellData.BestHeight |
Height for the cell.
property BestHeight: TRVStyleLength;
This value is measured in Units of the linked TRVStyle component.
This property corresponds to <td height> in HTML, but there is a difference. BestHeight does not include CellVPadding, while <td height> includes vertical cell padding.
A direct assignment to this property cannot be undone/redone by user, use table.SetCellBestHeight.
By default, this value defines the minimum cell width; cell can have greater height if it is necessary to show its content.
The meaning of this property is changed if you assign IgnoreContentHeight = True for this cell, or if rvtoIgnoreContentHeight is included in table.Options. In this case, if this property has a positive value, it is used as a cell height; height of content of this cell is ignored (however, cell height may be greater if other cells in this row have greater heights). If this property has a zero value, height of cell is defined by its content.
Default value:
0
See also properties:
See also properties of table:
▪Options (rvtoIgnoreContentHeight option).
See also: