GetRowHeight - method of the PmfTable object
Description:
Returns the row height in the specified table area.
Syntax:
String GetRowHeight(Long nRowArea)
Parameters:
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 |
---|
Return value:
"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.
Example1:
JavaScriptSelect and copy to clipboard
var sRowHeight = oTable.GetRowHeight(1);
// Row height in the table data area