Promotic
Login logon

Font - property of the PmfTableRow object

Description:
Font of the table row.
If this property is not set, then it takes (inherits) its value from the PmfTableArea.Font property.
Syntax:
String Font
Values:
font-style font-variant font-weight font-size font-family - Text string in the CSS format.
inherit - The property takes its value from the parent object.
Note:
Property access for read and write.
 
The property returns or sets font as a text string in the CSS format.
The value change of the property in runtime does not change the cell size, row height, column width or table area size.
This property is also functional in Web panels.
Example:
Setting and reading font in the CSS format.
JavaScriptSelect and copy to clipboard

oRow.Font = "normal normal 400 13px 'Arial'";   // Writing into the property
var sFont = oRow.Font;   // Reading from the property
oRow.Font = "inherit";   // The property takes its value from the parent object

History:
Pm9.00.20: Created
PROMOTIC 9.0.34 SCADA system documentation MICROSYS, spol. s r.o.

Send page remark Contact responsible person
© MICROSYS, spol. s r.o.Update cookies preferences