TitleFont - property of the PmForm object
Description:
Font of the Title area of the Pmf object.
Note:
Property access
for read and write.
The property returns or sets font as a string in the
CSS format.
From this property the font value is inherited by the
$root object (
PmfLayout).
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.
If the value of the property is not specified, then the default value is the font specified in the "
Use different font in system windows" configurator.
The default value of this font is
"normal normal 400 11px 'Microsoft Sans Serif'"
Example:
Setting and reading fonts in the CSS format.
JavaScriptSelect and copy to clipboard
oForm.TitleFont = "normal normal 400 13px 'Arial'";
// Writing into the property
var sTitleFont = oForm.TitleFont;
// Reading from the property