Update cookies preferences
Promotic

SetRowHeight - method of the PmfTable object

Description:
Sets the row height in the specified table area.
Syntax:
Empty SetRowHeight(String Value, Long nRowArea)
Parameters:
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
Note:
This method is also functional in Web panels.
See also:
- PmfTable.Multiline (property)
Example1:
JavaScriptSelect and copy to clipboard

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).

History:
Pm9.00.28: Created
PROMOTIC 9.0.28 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.