BodyFont - property of the PmfObject object
Description:
Font of the
Body area of the
Pmf object.
If this property is not set, then it takes (inherits) its value from the same
BodyFont property of the parent object.
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.
Changing the property value in runtime does not change the size of the
Pmf object or the size of its subareas.
This property is also functional in
Web panels.
Example:
Setting and reading font in the
CSS format.
JavaScriptSelect and copy to clipboard
oObject.BodyFont = "normal normal 400 13px 'Arial'";
// Writing into the property
var sBodyFont = oObject.BodyFont;
// Reading from the property
oObject.BodyFont = "inherit";
// The property takes its value from the parent object