Promotic

TitleFont - property of the PmfObject object

Description:
Font of the Title area of the Pmf object.
Syntax:
String TitleFont
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 TitleFont of the parent Pmf object. 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 property value in the runtime mode does not change the size of Pmf object or the size of its subareas.
This property is also functional in Web panels.
Example:
Setting and reading fonts in the CSS format.
JavaScriptSelect and copy to clipboard

oObject.TitleFont = "normal normal 400 13px 'Arial'";   // Writing into the property
var sTitleFont = oObject.TitleFont;   // Reading from the property
oObject.TitleFont = "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.