Font - property of the PmfTableArea object
Description:
Font of the table area.
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
PmfTable 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 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
oArea.Font = "normal normal 400 13px 'Arial'";
// Writing into the property
var sFont = oArea.Font;
// Reading from the property
oArea.Font = "inherit";
// Enabling property value inheritance from the parent object