Promotic

Font - property of the PmfTableCell object

Description:
Font of the table cell.
Syntax:
String Font
Note:
Property access for read and write.
 
The property returns or sets font as a string in the CSS format.
This property is inherited from the property Font of the parent objects in the following order: PmfTableRow > PmfTableColumn > PmfTableArea. Writing a valid font value into the property cancels inheritance of the value from the parent object. Writing the value "inherit" into the property enables inheritance of the value from the parent object.
Changing the value of the property in the runtime mode 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 fonts in the CSS format.
JavaScriptSelect and copy to clipboard

oCell.Font = "normal normal 400 13px 'Arial'";   // Writing into the property
var sFont = oCell.Font;   // Reading from the property
oCell.Font = "inherit";   // Enabling property value inheritance from the parent object

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

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