Value | (String) The row height value in the specified table area.
"XXem" - The value is in CSS units "em". 1em equals to the current font size.
For example if the document font size is 12pt then 1em equals to 12pt (0.5em = 6pt, 2em = 24pt). "XXpx" - Row height in pixels.
"unset" (default) - The row height is not specified. In this case the row height will be calculated automatically according to the current font. |
---|---|
nRowArea | (Long) Detecting the area of the table (see Areas in the table).
0 - Whole table (i.e. all table areas)
1 - Data area of the table
2 - Table header
3 - Table footer |
oTable.SetRowHeight("40px", 1);
// Sets the row height in the table data area to 40px.
oTable.SetRowHeight("1.8em", 2);
// Sets the row height in the table header to 1.8em.
oTable.SetRowHeight("unset", 3);
// Clears the row height setting of the table footer (it will be calculated automatically according to the current font).