BodyFont - property of the PmfObject object
Description:
Font of the Body 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.
This property is inherited from the property
BodyFont 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.BodyFont = "normal normal 400 13px 'Arial'";
// Writing into the property
var sBodyFont = oObject.BodyFont;
// Reading from the property
oObject.BodyFont = "inherit";
// Enabling property value inheritance from the parent object