|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home GuiPack NTabed Methods AutoRowHeight|
|See also: AutoColWidth (NTabEd), OptimizeRowHeight|
The function AutoRowHeight adjusts the row height so that every cell of the row RowNr is fully readable. Note, that the optimum height depends on the contents of the cells. The parameter RowNr may take any value between -1 and the number of available rows, NrOfRows. A value of -1 addresses the row containing the column attributes (if visible), a zero value refers to the column identifiers, any other value refers to the corresponding row.
The property Addon defines an additional value which is added to the optimum row height. Addon may be negative (to reduce the row height); however, no row will be displayed using less than 4 pixels. The function returns the new height of the row (in pixels).